/*! For license information please see quix.vendor.js.LICENSE.txt */ (()=>{"use strict";var t,e={277:(t,e,i)=>{var n,s=i(199),o=i.n(s),r=(i(683),i(99),i(418),i(159),i(96),i(372),i(584),(null===(n=window.qxUIkit)||void 0===n?void 0:n.sliderQueue)||[]);window.qxUIkit=i(799),r.forEach((function(t){return t()})),document.addEventListener("bgsetproxy",(function(t){var e;null===(e=t.target.querySelector(".lazyload-bg"))||void 0===e||e.classList.add("lazy-bg")})),o().init(),jQuery((function(){var t,e=window.navigator.userAgent;function i(){var t=jQuery("html").attr("dir"),e=0,i=jQuery("html").hasClass("quix-builder")?20:0;jQuery(".qx-section--stretch").each((function(){var n=jQuery(this);n.css("margin-left",0),setTimeout((function(){n.css("width",document.body.clientWidth),0===(e=parseInt(n.offset().left))?n.css("offset",e+"px"):"rtl"===t?n.css("margin-right",e-i+"px"):n.css("margin-left","-"+(e-i)+"px")}),100)}))}!1!==/MSIE|Trident|Edge/.test(e)&&"undefined"==typeof Modernizr&&jQuery(".qx-slider-pro-v2 .slider-pro-item").each((function(){var t=jQuery(this),e=t.find("img").prop("src");e&&t.css("backgroundImage","url("+e+")").addClass("compat-object-fit")})),jQuery(".qx-element-gallery-v2").find(".qx-active").click(),i(),jQuery(window).resize((function(){clearTimeout(t),t=setTimeout(i,200)}))}))}},i={};function n(t){var s=i[t];if(void 0!==s)return s.exports;var o=i[t]={exports:{}};return e[t].call(o.exports,o,o.exports,n),o.exports}n.m=e,t=[],n.O=(e,i,s,o)=>{if(!i){var r=1/0;for(h=0;h=o)&&Object.keys(n.O).every((t=>n.O[t](i[l])))?i.splice(l--,1):(a=!1,o0&&t[h-1][2]>o;h--)t[h]=t[h-1];t[h]=[i,s,o]},n.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return n.d(e,{a:e}),e},n.d=(t,e)=>{for(var i in e)n.o(e,i)&&!n.o(t,i)&&Object.defineProperty(t,i,{enumerable:!0,get:e[i]})},n.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),(()=>{var t={898:0};n.O.j=e=>0===t[e];var e=(e,i)=>{var s,o,[r,a,l]=i,c=0;if(r.some((e=>0!==t[e]))){for(s in a)n.o(a,s)&&(n.m[s]=a[s]);if(l)var h=l(n)}for(e&&e(i);cn(277)));s=n.O(s)})(),(self.webpackChunkpkg_quix=self.webpackChunkpkg_quix||[]).push([[555],{199:t=>{!function(e,i){var n=function(t,e,i){"use strict";var n,s;if(function(){var e,i={lazyClass:"lazyload",loadedClass:"lazyloaded",loadingClass:"lazyloading",preloadClass:"lazypreload",errorClass:"lazyerror",autosizesClass:"lazyautosizes",fastLoadedClass:"ls-is-cached",iframeLoadMode:0,srcAttr:"data-src",srcsetAttr:"data-srcset",sizesAttr:"data-sizes",minSize:40,customMedia:{},init:!0,expFactor:1.5,hFac:.8,loadMode:2,loadHidden:!0,ricTimeout:0,throttleDelay:125};for(e in s=t.lazySizesConfig||t.lazysizesConfig||{},i)e in s||(s[e]=i[e])}(),!e||!e.getElementsByClassName)return{init:function(){},cfg:s,noSupport:!0};var o,r,a,l,c,h,d,u,f,p,g,m,v,b,x,w,y,$,A,q,C,S,z,E,k,I,_,T,P,N,M,B,O,D,L,F,j,H,W,R,V,U,X,Y,Q=e.documentElement,J=t.HTMLPictureElement,G="addEventListener",K=t.addEventListener.bind(t),Z=t.setTimeout,tt=t.requestAnimationFrame||Z,et=t.requestIdleCallback,it=/^picture$/i,nt=["load","error","lazyincluded","_lazyloaded"],st={},ot=Array.prototype.forEach,rt=function(t,e){return st[e]||(st[e]=new RegExp("(\\s|^)"+e+"(\\s|$)")),st[e].test(t.getAttribute("class")||"")&&st[e]},at=function(t,e){rt(t,e)||t.setAttribute("class",(t.getAttribute("class")||"").trim()+" "+e)},lt=function(t,e){var i;(i=rt(t,e))&&t.setAttribute("class",(t.getAttribute("class")||"").replace(i," "))},ct=function(t,e,i){var n=i?G:"removeEventListener";i&&ct(t,e),nt.forEach((function(i){t[n](i,e)}))},ht=function(t,i,s,o,r){var a=e.createEvent("Event");return s||(s={}),s.instance=n,a.initEvent(i,!o,!r),a.detail=s,t.dispatchEvent(a),a},dt=function(e,i){var n;!J&&(n=t.picturefill||s.pf)?(i&&i.src&&!e.getAttribute("srcset")&&e.setAttribute("srcset",i.src),n({reevaluate:!0,elements:[e]})):i&&i.src&&(e.src=i.src)},ut=function(t,e){return(getComputedStyle(t,null)||{})[e]},ft=function(t,e,i){for(i=i||t.offsetWidth;i0)&&"visible"!=ut(s,"overflow")&&(n=s.getBoundingClientRect(),o=b>n.left&&vn.top-1&&m49?function(){et(a,{timeout:r}),r!==s.ricTimeout&&(r=s.ricTimeout)}:gt((function(){Z(a)}),!0);return function(t){var s;(t=!0===t)&&(r=33),e||(e=!0,(s=o-(i.now()-n))<0&&(s=0),t||s<9?l():Z(l,s))}}(I=function(){var t,i,o,r,a,l,d,f,y,$,z,I,_=n.elements;if((u=s.loadMode)&&C<8&&(t=_.length)){for(i=0,S++;i500&&Q.clientWidth>500?500:370:s.expand,n._defEx=$,z=$*s.expFactor,I=s.hFac,w=null,q2&&u>2&&!e.hidden?(q=z,S=0):q=u>1&&S>1&&C<6?$:0),y!==l&&(p=innerWidth+l*I,g=innerHeight+l,d=-1*l,y=l),o=_[i].getBoundingClientRect(),(x=o.bottom)>=d&&(m=o.top)<=g&&(b=o.right)>=d*I&&(v=o.left)<=p&&(x||b||v||m)&&(s.loadHidden||E(_[i]))&&(h&&C<3&&!f&&(u<3||S<4)||k(_[i],l))){if(D(_[i]),a=!0,C>9)break}else!a&&h&&!r&&C<4&&S<4&&u>2&&(c[0]||s.preloadAfterLoad)&&(c[0]||!f&&(x||b||v||m||"auto"!=_[i].getAttribute(s.sizesAttr)))&&(r=c[0]||_[i]);r&&!a&&D(r)}}),P=gt(T=function(t){var e=t.target;e._lazyCache?delete e._lazyCache:(z(t),at(e,s.loadedClass),lt(e,s.loadingClass),ct(e,N),ht(e,"lazyloaded"))}),N=function(t){P({target:t.target})},M=function(t,e){var i=t.getAttribute("data-load-mode")||s.iframeLoadMode;0==i?t.contentWindow.location.replace(e):1==i&&(t.src=e)},B=function(t){var e,i=t.getAttribute(s.srcsetAttr);(e=s.customMedia[t.getAttribute("data-media")||t.getAttribute("media")])&&t.setAttribute("media",e),i&&t.setAttribute("srcset",i)},O=gt((function(t,e,i,n,o){var r,a,l,c,h,u;(h=ht(t,"lazybeforeunveil",e)).defaultPrevented||(n&&(i?at(t,s.autosizesClass):t.setAttribute("sizes",n)),a=t.getAttribute(s.srcsetAttr),r=t.getAttribute(s.srcAttr),o&&(c=(l=t.parentNode)&&it.test(l.nodeName||"")),u=e.firesLoad||"src"in t&&(a||r||c),h={target:t},at(t,s.loadingClass),u&&(clearTimeout(d),d=Z(z,2500),ct(t,N,!0)),c&&ot.call(l.getElementsByTagName("source"),B),a?t.setAttribute("srcset",a):r&&!c&&($.test(t.nodeName)?M(t,r):t.src=r),o&&(a||c)&&dt(t,{src:r})),t._lazyRace&&delete t._lazyRace,lt(t,s.lazyClass),pt((function(){var e=t.complete&&t.naturalWidth>1;u&&!e||(e&&at(t,s.fastLoadedClass),T(h),t._lazyCache=!0,Z((function(){"_lazyCache"in t&&delete t._lazyCache}),9)),"lazy"==t.loading&&C--}),!0)})),D=function(t){if(!t._lazyRace){var e,i=y.test(t.nodeName),n=i&&(t.getAttribute(s.sizesAttr)||t.getAttribute("sizes")),o="auto"==n;(!o&&h||!i||!t.getAttribute("src")&&!t.srcset||t.complete||rt(t,s.errorClass)||!rt(t,s.lazyClass))&&(e=ht(t,"lazyunveilread").detail,o&&bt.updateElem(t,!0,t.offsetWidth),t._lazyRace=!0,C++,O(t,e,o,n,i))}},L=mt((function(){s.loadMode=3,_()})),j=function(){h||(i.now()-f<999?Z(j,999):(h=!0,s.loadMode=3,_(),K("scroll",F,!0)))},{_:function(){f=i.now(),n.elements=e.getElementsByClassName(s.lazyClass),c=e.getElementsByClassName(s.lazyClass+" "+s.preloadClass),K("scroll",_,!0),K("resize",_,!0),K("pageshow",(function(t){if(t.persisted){var i=e.querySelectorAll("."+s.loadingClass);i.length&&i.forEach&&tt((function(){i.forEach((function(t){t.complete&&D(t)}))}))}})),t.MutationObserver?new MutationObserver(_).observe(Q,{childList:!0,subtree:!0,attributes:!0}):(Q.addEventListener("DOMNodeInserted",_,!0),Q.addEventListener("DOMAttrModified",_,!0),setInterval(_,999)),K("hashchange",_,!0),["focus","mouseover","click","load","transitionend","animationend"].forEach((function(t){e.addEventListener(t,_,!0)})),/d$|^c/.test(e.readyState)?j():(K("load",j),e.addEventListener("DOMContentLoaded",_),Z(j,2e4)),n.elements.length?(I(),pt._lsFlush()):_()},checkElems:_,unveil:D,_aLSL:F=function(){3==s.loadMode&&(s.loadMode=2),L()}}),bt=(r=gt((function(t,e,i,n){var s,o,r;if(t._lazysizesWidth=n,n+="px",t.setAttribute("sizes",n),it.test(e.nodeName||""))for(o=0,r=(s=e.getElementsByTagName("source")).length;o{var n,s,o;!function(r,a){a=a.bind(null,r,r.document),t.exports?a(i(199)):(s=[i(199)],void 0===(o="function"==typeof(n=a)?n.apply(e,s):n)||(t.exports=o))}(window,(function(t,e,i){"use strict";if(t.addEventListener){var n=i.cfg,s=/\s+/g,o=/\s*\|\s+|\s+\|\s*/g,r=/^(.+?)(?:\s+\[\s*(.+?)\s*\])(?:\s+\[\s*(.+?)\s*\])?$/,a=/^\s*\(*\s*type\s*:\s*(.+?)\s*\)*\s*$/,l=/\(|\)|'/,c={contain:1,cover:1},h=function(t,e){if(e){var i=e.match(a);i&&i[1]?t.setAttribute("type",i[1]):t.setAttribute("media",n.customMedia[e]||e)}},d=function(t){if(t.target._lazybgset){var e=t.target,n=e._lazybgset,s=e.currentSrc||e.src;if(s){var o=l.test(s)?JSON.stringify(s):s,r=i.fire(n,"bgsetproxy",{src:s,useSrc:o,fullSrc:null});r.defaultPrevented||(n.style.backgroundImage=r.detail.fullSrc||"url("+r.detail.useSrc+")")}e._lazybgsetLoading&&(i.fire(n,"_lazyloaded",{},!1,!0),delete e._lazybgsetLoading)}};addEventListener("lazybeforeunveil",(function(t){var a,l,c;!t.defaultPrevented&&(a=t.target.getAttribute("data-bgset"))&&(c=t.target,(l=e.createElement("img")).alt="",l._lazybgsetLoading=!0,t.detail.firesLoad=!0,function(t,i,a){var l=e.createElement("picture"),c=i.getAttribute(n.sizesAttr),d=i.getAttribute("data-ratio"),u=i.getAttribute("data-optimumx");i._lazybgset&&i._lazybgset.parentNode==i&&i.removeChild(i._lazybgset),Object.defineProperty(a,"_lazybgset",{value:i,writable:!0}),Object.defineProperty(i,"_lazybgset",{value:l,writable:!0}),t=t.replace(s," ").split(o),l.style.display="none",a.className=n.lazyClass,1!=t.length||c||(c="auto"),t.forEach((function(t){var i,s=e.createElement("source");c&&"auto"!=c&&s.setAttribute("sizes",c),(i=t.match(r))?(s.setAttribute(n.srcsetAttr,i[1]),h(s,i[2]),h(s,i[3])):s.setAttribute(n.srcsetAttr,t),l.appendChild(s)})),c&&(a.setAttribute(n.sizesAttr,c),i.removeAttribute(n.sizesAttr),i.removeAttribute("sizes")),u&&a.setAttribute("data-optimumx",u),d&&a.setAttribute("data-ratio",d),l.appendChild(a),i.appendChild(l)}(a,c,l),setTimeout((function(){i.loader.unveil(l),i.rAF((function(){i.fire(l,"_lazyloaded",{},!0,!0),l.complete&&d({target:l})}))})))})),e.addEventListener("load",d,!0),t.addEventListener("lazybeforesizes",(function(t){if(t.detail.instance==i&&t.target._lazybgset&&t.detail.dataAttr){var e=function(t){var e;return e=(getComputedStyle(t)||{getPropertyValue:function(){}}).getPropertyValue("background-size"),!c[e]&&c[t.style.backgroundSize]&&(e=t.style.backgroundSize),e}(t.target._lazybgset);c[e]&&(t.target._lazysizesParentFit=e,i.rAF((function(){t.target.setAttribute("data-parent-fit",e),t.target._lazysizesParentFit&&delete t.target._lazysizesParentFit})))}}),!0),e.documentElement.addEventListener("lazybeforesizes",(function(t){var e,n;!t.defaultPrevented&&t.target._lazybgset&&t.detail.instance==i&&(t.detail.width=(e=t.target._lazybgset,n=i.gW(e,e.parentNode),(!e._lazysizesWidth||n>e._lazysizesWidth)&&(e._lazysizesWidth=n),e._lazysizesWidth))}))}}))},683:(t,e,i)=>{var n,s,o;!function(r,a){r&&(a=a.bind(null,r,r.document),t.exports?a(i(199)):(s=[i(199)],void 0===(o="function"==typeof(n=a)?n.apply(e,s):n)||(t.exports=o)))}("undefined"!=typeof window?window:0,(function(t,e,i,n){"use strict";var s,o=e.createElement("a").style,r="objectFit"in o,a=/object-fit["']*\s*:\s*["']*(contain|cover)/,l=/object-position["']*\s*:\s*["']*(.+?)(?=($|,|'|"|;))/,c="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==",h=/\(|\)|'/,d={center:"center","50% 50%":"center"};if(!r||!r||!("objectPosition"in o)){var u=function(t){if(t.detail.instance==i){var n=t.target,o=function(t){var e=(getComputedStyle(t,null)||{}).fontFamily||"",i=e.match(a)||"",n=i&&e.match(l)||"";return n&&(n=n[1]),{fit:i&&i[1]||"",position:d[n]||n||"center"}}(n);return!(!o.fit||r&&"center"==o.position||(function(t,n){var o,r,a,l,d=i.cfg,u=function(){var e=t.currentSrc||t.src;e&&r!==e&&(r=e,l.backgroundImage="url("+(h.test(e)?JSON.stringify(e):e)+")",o||(o=!0,i.rC(a,d.loadingClass),i.aC(a,d.loadedClass)))},f=function(){i.rAF(u)};t._lazysizesParentFit=n.fit,t.addEventListener("lazyloaded",f,!0),t.addEventListener("load",f,!0),i.rAF((function(){var o=t,r=t.parentNode;"PICTURE"==r.nodeName.toUpperCase()&&(o=r,r=r.parentNode),function(t){var e=t.previousElementSibling;e&&i.hC(e,s)&&(e.parentNode.removeChild(e),t.style.position=e.getAttribute("data-position")||"",t.style.visibility=e.getAttribute("data-visibility")||"")}(o),s||function(){if(!s){var t=e.createElement("style");s=i.cfg.objectFitClass||"lazysizes-display-clone",e.querySelector("head").appendChild(t)}}(),a=t.cloneNode(!1),l=a.style,a.addEventListener("load",(function(){var t=a.currentSrc||a.src;t&&t!=c&&(a.src=c,a.srcset="")})),i.rC(a,d.loadedClass),i.rC(a,d.lazyClass),i.rC(a,d.autosizesClass),i.aC(a,d.loadingClass),i.aC(a,s),["data-parent-fit","data-parent-container","data-object-fit-polyfilled",d.srcsetAttr,d.srcAttr].forEach((function(t){a.removeAttribute(t)})),a.src=c,a.srcset="",l.backgroundRepeat="no-repeat",l.backgroundPosition=n.position,l.backgroundSize=n.fit,a.setAttribute("data-position",o.style.position),a.setAttribute("data-visibility",o.style.visibility),o.style.visibility="hidden",o.style.position="absolute",t.setAttribute("data-parent-fit",n.fit),t.setAttribute("data-parent-container","prev"),t.setAttribute("data-object-fit-polyfilled",""),t._objectFitPolyfilledDisplay=a,r.insertBefore(a,o),t._lazysizesParentFit&&delete t._lazysizesParentFit,t.complete&&u()}))}(n,o),0))}};t.addEventListener("lazybeforesizes",(function(t){if(t.detail.instance==i){var e=t.target;null==e.getAttribute("data-object-fit-polyfilled")||e._objectFitPolyfilledDisplay||u(t)||i.rAF((function(){e.removeAttribute("data-object-fit-polyfilled")}))}})),t.addEventListener("lazyunveilread",u,!0),n&&n.detail&&u(n)}}))},96:(t,e,i)=>{var n,s,o;!function(r,a){r&&(a=a.bind(null,r,r.document),t.exports?a(i(199)):(s=[i(199)],void 0===(o="function"==typeof(n=a)?n.apply(e,s):n)||(t.exports=o)))}("undefined"!=typeof window?window:0,(function(t,e,i){"use strict";if(t.addEventListener){var n,s,o,r,a,l,c,h,d=/^picture$/i,u=e.documentElement,f=(o=/(([^,\s].[^\s]+)\s+(\d+)(w|h)(\s+(\d+)(w|h))?)/g,r=function(t,e,i,n,o,r,a,l){s.push({c:e,u:i,w:1*("w"==l?a:n)})},function(t){return s=[],t.replace(o,r),s}),p=(a=function(t,e){return t.w-e.w},l=function(t,e){var n={srcset:t.getAttribute(i.cfg.srcsetAttr)||""},s=f(n.srcset);return Object.defineProperty(t,e,{value:n,writable:!0}),n.cands=s,n.index=0,n.dirty=!1,s[0]&&s[0].w?(s.sort(a),n.cSrcset=[s[n.index].c]):(n.cSrcset=n.srcset?[n.srcset]:[],n.cands=[]),n},function(t,e){var i,n,s,o;if(!t[e]&&(o=t.parentNode||{},t[e]=l(t,e),t[e].isImg=!0,d.test(o.nodeName||"")))for(t[e].picture=!0,n=0,s=(i=o.getElementsByTagName("source")).length;n.7?.6:.4,!(t.d>=i)&&((n=Math.pow(t.d-s,1.6)||.1)<.1?n=.1:n>3&&(n=3),t.d+(e-i)*n=n)){if(!(s.d<=i||c(t.cands[n-1],s.d,i)))break;t.cSrcset.push(s.c),t.index=n}})},m=(h=function(t,e,i,n,s){var o,r=t[s];r&&(o=r.index,g[s](r,e,i),r.dirty&&o==r.index||(r.cSrcset.join(", "),t.setAttribute(n,r.cSrcset.join(", ")),r.dirty=!0))},function(t,e,i,n,s){var o,r,a,l,c=t[s];if(c.width=e,c.picture&&(r=t.parentNode))for(l=0,a=(o=r.getElementsByTagName("source")).length;l2.6?e*=.6:e>1.9?e*=.8:e-=.01,Math.min(Math.round(100*e)/100,2)}),t.devicePixelRatio&&addEventListener("lazybeforesizes",(function(t){if(t.detail.instance==i){var e,s,o,r,a=t.target,l=t.detail,c=l.dataAttr;t.defaultPrevented||!(e=v(a))||e>=devicePixelRatio||(!c||!a._lazyOptimumx||l.reloaded||n.unloadedClass&&i.hC(a,n.unloadedClass)||(a._lazyOptimumx=null),s=p(a,"_lazyOptimumx"),(o=l.width)&&(s.width||0){var n,s,o;!function(r,a){r&&(a=a.bind(null,r,r.document),t.exports?a(i(199)):(s=[i(199)],void 0===(o="function"==typeof(n=a)?n.apply(e,s):n)||(t.exports=o)))}("undefined"!=typeof window?window:0,(function(t,e,i){"use strict";if(t.addEventListener){var n=/\s+(\d+)(w|h)\s+(\d+)(w|h)/,s=/parent-fit["']*\s*:\s*["']*(contain|cover|width)/,o=/parent-container["']*\s*:\s*["']*(.+?)(?=(\s|$|,|'|"|;))/,r=/^picture$/i,a=i.cfg,l={getParent:function(e,i){var n=e,s=e.parentNode;return i&&"prev"!=i||!s||!r.test(s.nodeName||"")||(s=s.parentNode),"self"!=i&&(n="prev"==i?e.previousElementSibling:i&&(s.closest||t.jQuery)&&(s.closest?s.closest(i):jQuery(s).closest(i)[0])||s),n},getFit:function(t){var e,i,n=getComputedStyle(t,null)||{},r=n.content||n.fontFamily,a={fit:t._lazysizesParentFit||t.getAttribute("data-parent-fit")};return!a.fit&&r&&(e=r.match(s))&&(a.fit=e[1]),a.fit?(!(i=t._lazysizesParentContainer||t.getAttribute("data-parent-container"))&&r&&(e=r.match(o))&&(i=e[1]),a.parent=l.getParent(t,i)):a.fit=n.objectFit,a},getImageRatio:function(e){var i,s,o,l,c,h,d,u=e.parentNode,f=u&&r.test(u.nodeName||"")?u.querySelectorAll("source, img"):[e];for(i=0;in)&&(s=e*(n/i)),s):e}};i.parentFit=l,e.addEventListener("lazybeforesizes",(function(t){if(!t.defaultPrevented&&t.detail.instance==i){var e=t.target;t.detail.width=l.calculateSize(e,t.detail.width)}}))}}))},584:(t,e,i)=>{var n,s,o;!function(r,a){a=a.bind(null,r,r.document),t.exports?a(i(199)):(s=[i(199)],void 0===(o="function"==typeof(n=a)?n.apply(e,s):n)||(t.exports=o))}(window,(function(t,e,i){"use strict";var n,s;"srcset"in e.createElement("img")&&(n=/^img$/i,s=function(t){t.target.style.backgroundSize="",t.target.style.backgroundImage="",t.target.removeEventListener(t.type,s)},e.addEventListener("lazybeforeunveil",(function(t){if(t.detail.instance==i){var e=t.target;if(n.test(e.nodeName)){var o=e.getAttribute("src");o&&(e.style.backgroundSize="100% 100%",e.style.backgroundImage="url("+o+")",e.removeAttribute("src"),e.addEventListener("load",s))}}}),!1))}))},372:(t,e,i)=>{var n,s,o;!function(r,a){r&&(a=a.bind(null,r,r.document),t.exports?a(i(199)):(s=[i(199)],void 0===(o="function"==typeof(n=a)?n.apply(e,s):n)||(t.exports=o)))}("undefined"!=typeof window?window:0,(function(t,e,i){"use strict";var n,s,o,r,a,l,c,h,d,u,f,p,g,m,v,b,x=i.cfg,w=e.createElement("img"),y="sizes"in w&&"srcset"in w,$=/\s+\d+h/g,A=(s=/\s+(\d+)(w|h)\s+(\d+)(w|h)/,o=Array.prototype.forEach,function(){var t=e.createElement("img"),n=function(t){var e,i,n=t.getAttribute(x.srcsetAttr);n&&(i=n.match(s))&&((e="w"==i[2]?i[1]/i[3]:i[3]/i[1])&&t.setAttribute("data-aspectratio",e),t.setAttribute(x.srcsetAttr,n.replace($,"")))},r=function(t){if(t.detail.instance==i){var e=t.target.parentNode;e&&"PICTURE"==e.nodeName&&o.call(e.getElementsByTagName("source"),n),n(t.target)}},a=function(){t.currentSrc&&e.removeEventListener("lazybeforeunveil",r)};e.addEventListener("lazybeforeunveil",r),t.onload=a,t.onerror=a,t.srcset="data:,a 1w 1h",t.complete&&a()});x.supportsType||(x.supportsType=function(t){return!t}),t.HTMLPictureElement&&y?!i.hasHDescriptorFix&&e.msElementsFromPoint&&(i.hasHDescriptorFix=!0,A()):t.picturefill||x.pf||(x.pf=function(e){var i,s;if(!t.picturefill)for(i=0,s=e.elements.length;i1?(c=r.getAttribute("sizes")||"",c=d.test(c)&&parseInt(c,10)||i.gW(e,e.parentNode),a.d=function(e){var n=t.devicePixelRatio||1,s=i.getX&&i.getX(e);return Math.min(s||n,2.5,n)}(e),!a.src||!a.w||a.w=t.d){!s.cached&&(e=t[o-1])&&e.d>t.d-.13*Math.pow(t.d,2.2)&&(i=Math.pow(e.d-.6,1.6),e.cached&&(e.d+=.15*i),e.d+(s.d-t.d)*i>t.d&&(s=e));break}return s}(a.sort(h)),a.src=l):l=a.src):l=a[0],l},(v=function(t){if(!y||!t.parentNode||"PICTURE"==t.parentNode.nodeName.toUpperCase()){var e=m(t);e&&e.u&&t._lazypolyfill.cur!=e.u&&(t._lazypolyfill.cur=e.u,e.cached=!0,t.setAttribute(x.srcAttr,e.u),t.setAttribute("src",e.u))}}).parse=u=function(t){return r=[],(t=t.trim()).replace($,"").replace(a,c),r.length||!t||l.test(t)||r.push({c:t,u:t,w:99}),r},n=v,x.loadedClass&&x.loadingClass&&(b=[],['img[sizes$="px"][srcset].',"picture > img:not([srcset])."].forEach((function(t){b.push(t+x.loadedClass),b.push(t+x.loadingClass)})),x.pf({elements:e.querySelectorAll(b.join(", "))})))}))},159:(t,e,i)=>{var n,s,o;!function(r,a){a=a.bind(null,r,r.document),t.exports?a(i(199)):(s=[i(199)],void 0===(o="function"==typeof(n=a)?n.apply(e,s):n)||(t.exports=o))}(window,(function(t,e,i){"use strict";var n,s,o={};function r(t,i,n){if(!o[t]){var s=e.createElement(i?"link":"script"),r=e.getElementsByTagName("script")[0];i?(s.rel="stylesheet",s.href=t):(s.onload=function(){s.onerror=null,s.onload=null,n()},s.onerror=s.onload,s.src=t),o[t]=!0,o[s.src||s.href]=!0,r.parentNode.insertBefore(s,r)}}e.addEventListener&&(s=/\(|\)|\s|'/,n=function(t,i){var n=e.createElement("img");n.onload=function(){n.onload=null,n.onerror=null,n=null,i()},n.onerror=n.onload,n.src=t,n&&n.complete&&n.onload&&n.onload()},addEventListener("lazybeforeunveil",(function(t){var e,o,a;if(t.detail.instance==i&&!t.defaultPrevented){var l=t.target;if("none"==l.preload&&(l.preload=l.getAttribute("data-preload")||"auto"),null!=l.getAttribute("data-autoplay"))if(l.getAttribute("data-expand")&&!l.autoplay)try{l.play()}catch(t){}else requestAnimationFrame((function(){l.setAttribute("data-expand","-10"),i.aC(l,i.cfg.lazyClass)}));(e=l.getAttribute("data-link"))&&r(e,!0),(e=l.getAttribute("data-script"))&&(t.detail.firesLoad=!0,r(e,null,(function(){t.detail.firesLoad=!1,i.fire(l,"_lazyloaded",{},!0,!0)}))),(e=l.getAttribute("data-require"))&&(i.cfg.requireJs?i.cfg.requireJs([e]):r(e)),(o=l.getAttribute("data-bg"))&&(t.detail.firesLoad=!0,n(o,(function(){l.style.backgroundImage="url("+(s.test(o)?JSON.stringify(o):o)+")",t.detail.firesLoad=!1,i.fire(l,"_lazyloaded",{},!0,!0)}))),(a=l.getAttribute("data-poster"))&&(t.detail.firesLoad=!0,n(a,(function(){l.poster=a,t.detail.firesLoad=!1,i.fire(l,"_lazyloaded",{},!0,!0)})))}}),!1))}))},799:function(t){t.exports=function(){"use strict";const{hasOwnProperty:t,toString:e}=Object.prototype;function i(e,i){return t.call(e,i)}const n=/\B([A-Z])/g,s=G((t=>t.replace(n,"-$1").toLowerCase())),o=/-(\w)/g,r=G((t=>(t.charAt(0).toLowerCase()+t.slice(1)).replace(o,((t,e)=>e.toUpperCase())))),a=G((t=>t.charAt(0).toUpperCase()+t.slice(1)));function l(t,e){return t?.startsWith?.(e)}function c(t,e){return t?.endsWith?.(e)}function h(t,e){return t?.includes?.(e)}function d(t,e){return t?.findIndex?.(e)}const{isArray:u,from:f}=Array,{assign:p}=Object;function g(t){return"function"==typeof t}function m(t){return null!==t&&"object"==typeof t}function v(t){return"[object Object]"===e.call(t)}function b(t){return m(t)&&t===t.window}function x(t){return 9===$(t)}function w(t){return $(t)>=1}function y(t){return 1===$(t)}function $(t){return!b(t)&&m(t)&&t.nodeType}function A(t){return"boolean"==typeof t}function q(t){return"string"==typeof t}function C(t){return"number"==typeof t}function S(t){return C(t)||q(t)&&!isNaN(t-parseFloat(t))}function z(t){return!(u(t)?t.length:m(t)&&Object.keys(t).length)}function E(t){return void 0===t}function k(t){return A(t)?t:"true"===t||"1"===t||""===t||"false"!==t&&"0"!==t&&t}function I(t){const e=Number(t);return!isNaN(e)&&e}function _(t){return parseFloat(t)||0}function T(t){return P(t)[0]}function P(t){return w(t)?[t]:Array.from(t||[]).filter(w)}function N(t){return b(t)?t:(x(t=T(t))?t:t?.ownerDocument)?.defaultView||window}function M(t,e){return t===e||m(t)&&m(e)&&Object.keys(t).length===Object.keys(e).length&&D(t,((t,i)=>t===e[i]))}function B(t,e,i){return t.replace(new RegExp(`${e}|${i}`,"g"),(t=>t===e?i:e))}function O(t){return t[t.length-1]}function D(t,e){for(const i in t)if(!1===e(t[i],i))return!1;return!0}function L(t,e){return t.slice().sort((({[e]:t=0},{[e]:i=0})=>t>i?1:i>t?-1:0))}function F(t,e){return t.reduce(((t,i)=>t+_(g(e)?e(i):i[e])),0)}function j(t,e){const i=new Set;return t.filter((({[e]:t})=>!i.has(t)&&i.add(t)))}function H(t,e){return e.reduce(((e,i)=>({...e,[i]:t[i]})),{})}function W(t,e=0,i=1){return Math.min(Math.max(I(t)||0,e),i)}function R(){}function V(...t){return[["bottom","top"],["right","left"]].every((([e,i])=>Math.min(...t.map((({[e]:t})=>t)))-Math.max(...t.map((({[i]:t})=>t)))>0))}function U(t,e){return t.x<=e.right&&t.x>=e.left&&t.y<=e.bottom&&t.y>=e.top}function X(t,e,i){const n="width"===e?"height":"width";return{[n]:t[e]?Math.round(i*t[n]/t[e]):t[n],[e]:i}}function Y(t,e){t={...t};for(const i in t)t=t[i]>e[i]?X(t,i,e[i]):t;return t}const Q={ratio:X,contain:Y,cover:function(t,e){t=Y(t,e);for(const i in t)t=t[i]e[i]||(e[i]=t(i))}function K(t,e,i){if(m(e))for(const i in e)K(t,i,e[i]);else{if(E(i))return T(t)?.getAttribute(e);for(const n of P(t))g(i)&&(i=i.call(n,K(n,e))),null===i?tt(n,e):n.setAttribute(e,i)}}function Z(t,e){return P(t).some((t=>t.hasAttribute(e)))}function tt(t,e){P(t).forEach((t=>t.removeAttribute(e)))}function et(t,e){for(const i of[e,`data-${e}`])if(Z(t,i))return K(t,i)}const it={area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0};function nt(t){return P(t).some((t=>it[t.tagName.toLowerCase()]))}function st(t){return P(t).some((t=>t.offsetWidth||t.offsetHeight||t.getClientRects().length))}const ot="input,select,textarea,button";function rt(t){return P(t).some((t=>dt(t,ot)))}const at=`${ot},a[href],[tabindex]`;function lt(t){return dt(t,at)}function ct(t){return T(t)?.parentElement}function ht(t,e){return P(t).filter((t=>dt(t,e)))}function dt(t,e){return P(t).some((t=>t.matches(e)))}function ut(t,e){return y(t)?t.closest(l(e,">")?e.slice(1):e):P(t).map((t=>ut(t,e))).filter(Boolean)}function ft(t,e){return q(e)?!!ut(t,e):T(e).contains(T(t))}function pt(t,e){const i=[];for(;t=ct(t);)e&&!dt(t,e)||i.push(t);return i}function gt(t,e){const i=(t=T(t))?f(t.children):[];return e?ht(i,e):i}function mt(t,e){return e?P(t).indexOf(T(e)):gt(ct(t)).indexOf(t)}function vt(t){return(t=T(t))&&["origin","pathname","search"].every((e=>t[e]===location[e]))}function bt(t){if(vt(t)){t=T(t);const e=decodeURIComponent(t.hash).substring(1);return document.getElementById(e)||document.getElementsByName(e)[0]}}function xt(t,e){return yt(t,Ct(t,e))}function wt(t,e){return $t(t,Ct(t,e))}function yt(t,e){return T(Et(t,T(e),"querySelector"))}function $t(t,e){return P(Et(t,T(e),"querySelectorAll"))}const At=/(^|[^\\],)\s*[!>+~-]/,qt=G((t=>t.match(At)));function Ct(t,e=document){return q(t)&&qt(t)||x(e)?e:e.ownerDocument}const St=/([!>+~-])(?=\s+[!>+~-]|\s*$)/g,zt=G((t=>t.replace(St,"$1 *")));function Et(t,e=document,i){if(!t||!q(t))return t;if(t=zt(t),qt(t)){const i=It(t);t="";for(let n of i){let s=e;if("!"===n[0]){const t=n.substr(1).trim().split(" ");if(s=ut(ct(e),t[0]),n=t.slice(1).join(" ").trim(),!n.length&&1===i.length)return s}if("-"===n[0]){const t=n.substr(1).trim().split(" "),i=(s||e).previousElementSibling;s=dt(i,n.substr(1))?i:null,n=t.slice(1).join(" ")}s&&(t+=`${t?",":""}${_t(s)} ${n}`)}e=document}try{return e[i](t)}catch(t){return null}}const kt=/.*?[^\\](?:,|$)/g,It=G((t=>t.match(kt).map((t=>t.replace(/,$/,"").trim()))));function _t(t){const e=[];for(;t.parentNode;){const i=K(t,"id");if(i){e.unshift(`#${Tt(i)}`);break}{let{tagName:i}=t;"HTML"!==i&&(i+=`:nth-child(${mt(t)+1})`),e.unshift(i),t=t.parentNode}}return e.join(" > ")}function Tt(t){return q(t)?CSS.escape(t):""}function Pt(...t){let[e,i,n,s,o=!1]=Dt(t);s.length>1&&(s=function(t){return e=>u(e.detail)?t(e,...e.detail):t(e)}(s)),o?.self&&(s=function(t){return function(e){if(e.target===e.currentTarget||e.target===e.current)return t.call(null,e)}}(s)),n&&(s=function(t,e){return i=>{const n=">"===t[0]?$t(t,i.currentTarget).reverse().filter((t=>ft(i.target,t)))[0]:ut(i.target,t);n&&(i.current=n,e.call(this,i),delete i.current)}}(n,s));for(const t of i)for(const i of e)i.addEventListener(t,s,o);return()=>Nt(e,i,s,o)}function Nt(...t){let[e,i,,n,s=!1]=Dt(t);for(const t of i)for(const i of e)i.removeEventListener(t,n,s)}function Mt(...t){const[e,i,n,s,o=!1,r]=Dt(t),a=Pt(e,i,n,(t=>{const e=!r||r(t);e&&(a(),s(t,e))}),o);return a}function Bt(t,e,i){return jt(t).every((t=>t.dispatchEvent(Ot(e,!0,!0,i))))}function Ot(t,e=!0,i=!1,n){return q(t)&&(t=new CustomEvent(t,{bubbles:e,cancelable:i,detail:n})),t}function Dt(t){return t[0]=jt(t[0]),q(t[1])&&(t[1]=t[1].split(" ")),g(t[2])&&t.splice(2,0,!1),t}function Lt(t){return t&&"addEventListener"in t}function Ft(t){return Lt(t)?t:T(t)}function jt(t){return u(t)?t.map(Ft).filter(Boolean):q(t)?$t(t):Lt(t)?[t]:P(t)}function Ht(t){return"touch"===t.pointerType||!!t.touches}function Wt(t){const{clientX:e,clientY:i}=t.touches?.[0]||t.changedTouches?.[0]||t;return{x:e,y:i}}const Rt={"animation-iteration-count":!0,"column-count":!0,"fill-opacity":!0,"flex-grow":!0,"flex-shrink":!0,"font-weight":!0,"line-height":!0,opacity:!0,order:!0,orphans:!0,"stroke-dasharray":!0,"stroke-dashoffset":!0,widows:!0,"z-index":!0,zoom:!0};function Vt(t,e,i,n){const s=P(t);for(const t of s)if(q(e)){if(e=Ut(e),E(i))return getComputedStyle(t).getPropertyValue(e);t.style.setProperty(e,S(i)&&!Rt[e]?`${i}px`:i||C(i)?i:"",n)}else{if(u(e)){const i={};for(const n of e)i[n]=Vt(t,n);return i}m(e)&&(n=i,D(e,((e,i)=>Vt(t,i,e,n))))}return s[0]}const Ut=G((t=>function(t){if(l(t,"--"))return t;t=s(t);const{style:e}=document.documentElement;if(t in e)return t;for(const i of["webkit","moz"]){const n=`-${i}-${t}`;if(n in e)return n}}(t)));function Xt(t,...e){Zt(t,e,"add")}function Yt(t,...e){Zt(t,e,"remove")}function Qt(t,e){K(t,"class",(t=>(t||"").replace(new RegExp(`\\b${e}\\b\\s?`,"g"),"")))}function Jt(t,...e){e[0]&&Yt(t,e[0]),e[1]&&Xt(t,e[1])}function Gt(t,e){return[e]=te(e),!!e&&P(t).some((t=>t.classList.contains(e)))}function Kt(t,e,i){const n=te(e);E(i)||(i=!!i);for(const e of P(t))for(const t of n)e.classList.toggle(t,i)}function Zt(t,e,i){e=e.reduce(((t,e)=>t.concat(te(e))),[]);for(const n of P(t))n.classList[i](...e)}function te(t){return String(t).split(/[ ,]/).filter(Boolean)}const ee={start:function(t,e,i=400,n="linear"){return i=Math.round(i),Promise.all(P(t).map((t=>new Promise(((s,o)=>{for(const i in e){const e=Vt(t,i);""===e&&Vt(t,i,e)}const r=setTimeout((()=>Bt(t,"transitionend")),i);Mt(t,"transitionend transitioncanceled",(({type:e})=>{clearTimeout(r),Yt(t,"qx-transition"),Vt(t,{transitionProperty:"",transitionDuration:"",transitionTimingFunction:""}),"transitioncanceled"===e?o():s(t)}),{self:!0}),Xt(t,"qx-transition"),Vt(t,{transitionProperty:Object.keys(e).map(Ut).join(","),transitionDuration:`${i}ms`,transitionTimingFunction:n,...e})})))))},async stop(t){Bt(t,"transitionend"),await Promise.resolve()},async cancel(t){Bt(t,"transitioncanceled"),await Promise.resolve()},inProgress:t=>Gt(t,"qx-transition")},ie="qx-animation-";function ne(t,e,i=200,n,s){return Promise.all(P(t).map((t=>new Promise(((o,r)=>{Bt(t,"animationcanceled");const a=setTimeout((()=>Bt(t,"animationend")),i);Mt(t,"animationend animationcanceled",(({type:e})=>{clearTimeout(a),"animationcanceled"===e?r():o(t),Vt(t,"animationDuration",""),Qt(t,"qx-animation-\\S*")}),{self:!0}),Vt(t,"animationDuration",`${i}ms`),Xt(t,e,ie+(s?"leave":"enter")),l(e,ie)&&(n&&Xt(t,`qx-transform-origin-${n}`),s&&Xt(t,"qx-animation-reverse"))})))))}const se=new RegExp("qx-animation-(enter|leave)"),oe={in:ne,out:(t,e,i,n)=>ne(t,e,i,n,!0),inProgress:t=>se.test(K(t,"class")),cancel(t){Bt(t,"animationcanceled")}};function re(t,...e){return e.some((e=>t?.tagName?.toLowerCase()===e.toLowerCase()))}function ae(t){return(t=Ae(t)).innerHTML="",t}function le(t,e){return E(e)?Ae(t).innerHTML:he(ae(t),e)}const ce=fe("prepend"),he=fe("append"),de=fe("before"),ue=fe("after");function fe(t){return function(e,i){const n=P(q(i)?we(i):i);return Ae(e)?.[t](...n),ye(n)}}function pe(t){P(t).forEach((t=>t.remove()))}function ge(t,e){for(e=T(de(t,e));e.firstChild;)e=e.firstChild;return he(e,t),e}function me(t,e){return P(P(t).map((t=>t.hasChildNodes()?ge(f(t.childNodes),e):he(t,e))))}function ve(t){P(t).map(ct).filter(((t,e,i)=>i.indexOf(t)===e)).forEach((t=>t.replaceWith(...t.childNodes)))}const be=/^\s*<(\w+|!)[^>]*>/,xe=/^<(\w+)\s*\/?>(?:<\/\1>)?$/;function we(t){const e=xe.exec(t);if(e)return document.createElement(e[1]);const i=document.createElement("div");return be.test(t)?i.insertAdjacentHTML("beforeend",t.trim()):i.textContent=t,ye(i.childNodes)}function ye(t){return t.length>1?t:t[0]}function $e(t,e){if(y(t))for(e(t),t=t.firstElementChild;t;){const i=t.nextElementSibling;$e(t,e),t=i}}function Ae(t,e){return Ce(t)?T(we(t)):yt(t,e)}function qe(t,e){return Ce(t)?P(we(t)):$t(t,e)}function Ce(t){return q(t)&&l(t.trim(),"<")}const Se={width:["left","right"],height:["top","bottom"]};function ze(t){const e=y(t)?T(t).getBoundingClientRect():{height:_e(t),width:Te(t),top:0,left:0};return{height:e.height,width:e.width,top:e.top,left:e.left,bottom:e.top+e.height,right:e.left+e.width}}function Ee(t,e){const i=ze(t);if(t){const{scrollY:e,scrollX:n}=N(t),s={height:e,width:n};for(const t in Se)for(const e of Se[t])i[e]+=s[t]}if(!e)return i;const n=Vt(t,"position");D(Vt(t,["left","top"]),((s,o)=>Vt(t,o,e[o]-i[o]+_("absolute"===n&&"auto"===s?ke(t)[o]:s))))}function ke(t){let{top:e,left:i}=Ee(t);const{ownerDocument:{body:n,documentElement:s},offsetParent:o}=T(t);let r=o||s;for(;r&&(r===n||r===s)&&"static"===Vt(r,"position");)r=r.parentNode;if(y(r)){const t=Ee(r);e-=t.top+_(Vt(r,"borderTopWidth")),i-=t.left+_(Vt(r,"borderLeftWidth"))}return{top:e-_(Vt(t,"marginTop")),left:i-_(Vt(t,"marginLeft"))}}function Ie(t){const e=[(t=T(t)).offsetTop,t.offsetLeft];for(;t=t.offsetParent;)if(e[0]+=t.offsetTop+_(Vt(t,"borderTopWidth")),e[1]+=t.offsetLeft+_(Vt(t,"borderLeftWidth")),"fixed"===Vt(t,"position")){const i=N(t);return e[0]+=i.scrollY,e[1]+=i.scrollX,e}return e}const _e=Pe("height"),Te=Pe("width");function Pe(t){const e=a(t);return(i,n)=>{if(E(n)){if(b(i))return i[`inner${e}`];if(x(i)){const t=i.documentElement;return Math.max(t[`offset${e}`],t[`scroll${e}`])}return(n="auto"===(n=Vt(i=T(i),t))?i[`offset${e}`]:_(n)||0)-Ne(i,t)}return Vt(i,t,n||0===n?+n+Ne(i,t)+"px":"")}}function Ne(t,e,i="border-box"){return Vt(t,"boxSizing")===i?F(Se[e].map(a),(e=>_(Vt(t,`padding${e}`))+_(Vt(t,`border${e}Width`)))):0}function Me(t){for(const e in Se)for(const i in Se[e])if(Se[e][i]===t)return Se[e][1-i];return t}function Be(t,e="width",i=window,n=!1){return q(t)?F(De(t),(t=>{const s=Fe(t);return s?function(t,e){return t*_(e)/100}("vh"===s?je||(He||(He=Ae("
"),Vt(He,{height:"100vh",position:"fixed"}),Pt(window,"resize",(()=>je=null))),he(document.body,He),je=He.clientHeight,pe(He),je):"vw"===s?Te(N(i)):n?i[`offset${a(e)}`]:ze(i)[e],t):t})):_(t)}const Oe=/-?\d+(?:\.\d+)?(?:v[wh]|%|px)?/g,De=G((t=>t.toString().replace(/\s/g,"").match(Oe)||[])),Le=/(?:v[hw]|%)$/,Fe=G((t=>(t.match(Le)||[])[0]));let je,He;const We="undefined"!=typeof window,Re=We&&"rtl"===document.dir,Ve=We&&"ontouchstart"in window,Ue=We&&window.PointerEvent,Xe=Ue?"pointerdown":Ve?"touchstart":"mousedown",Ye=Ue?"pointermove":Ve?"touchmove":"mousemove",Qe=Ue?"pointerup":Ve?"touchend":"mouseup",Je=Ue?"pointerenter":Ve?"":"mouseenter",Ge=Ue?"pointerleave":Ve?"":"mouseleave",Ke=Ue?"pointercancel":"touchcancel",Ze={reads:[],writes:[],read(t){return this.reads.push(t),ei(),t},write(t){return this.writes.push(t),ei(),t},clear(t){ni(this.reads,t),ni(this.writes,t)},flush:ti};function ti(t){ii(Ze.reads),ii(Ze.writes.splice(0)),Ze.scheduled=!1,(Ze.reads.length||Ze.writes.length)&&ei(t+1)}function ei(t){Ze.scheduled||(Ze.scheduled=!0,t&&t<4?Promise.resolve().then((()=>ti(t))):requestAnimationFrame((()=>ti(1))))}function ii(t){let e;for(;e=t.shift();)try{e()}catch(t){console.error(t)}}function ni(t,e){const i=t.indexOf(e);return~i&&t.splice(i,1)}function si(){}function oi(t,e,i={},{intersecting:n=!0}={}){const s=new IntersectionObserver(n?(t,i)=>{t.some((t=>t.isIntersecting))&&e(t,i)}:e,i);for(const e of P(t))s.observe(e);return s}si.prototype={positions:[],init(){let t;this.positions=[],this.unbind=Pt(document,"mousemove",(e=>t=Wt(e))),this.interval=setInterval((()=>{t&&(this.positions.push(t),this.positions.length>5&&this.positions.shift())}),50)},cancel(){this.unbind?.(),clearInterval(this.interval)},movesTo(t){if(this.positions.length<2)return!1;const e=t.getBoundingClientRect(),{left:i,right:n,top:s,bottom:o}=e,[r]=this.positions,a=O(this.positions),l=[r,a];return!U(a,e)&&[[{x:i,y:s},{x:n,y:o}],[{x:i,y:o},{x:n,y:s}]].some((t=>{const i=function([{x:t,y:e},{x:i,y:n}],[{x:s,y:o},{x:r,y:a}]){const l=(a-o)*(i-t)-(r-s)*(n-e);if(0===l)return!1;const c=((r-s)*(e-o)-(a-o)*(t-s))/l;return!(c<0)&&{x:t+c*(i-t),y:e+c*(n-e)}}(l,t);return i&&U(i,e)}))}};const ri=We&&window.ResizeObserver;function ai(t,e,i={box:"border-box"}){if(ri)return hi(ResizeObserver,t,e,i);const n=[Pt(window,"load resize",e),Pt(document,"loadedmetadata load",e,!0)];return{disconnect:()=>n.map((t=>t()))}}function li(t){return{disconnect:Pt([window,window.visualViewport],"resize",t)}}function ci(t,e,i){return hi(MutationObserver,t,e,i)}function hi(t,e,i,n){const s=new t(i);for(const t of P(e))s.observe(t,n);return s}function di(t){if(mi(t)&&xi(t,{func:"playVideo",method:"play"}),gi(t))try{t.play().catch(R)}catch(t){}}function ui(t){mi(t)&&xi(t,{func:"pauseVideo",method:"pause"}),gi(t)&&t.pause()}function fi(t){mi(t)&&xi(t,{func:"mute",method:"setVolume",value:0}),gi(t)&&(t.muted=!0)}function pi(t){return gi(t)||mi(t)}function gi(t){return re(t,"video")}function mi(t){return re(t,"iframe")&&(vi(t)||bi(t))}function vi(t){return!!t.src.match(/\/\/.*?youtube(-nocookie)?\.[a-z]+\/(watch\?v=[^&\s]+|embed)|youtu\.be\/.*/)}function bi(t){return!!t.src.match(/vimeo\.com\/video\/.*/)}async function xi(t,e){await function(t){if(t._ukPlayer)return t._ukPlayer;const e=vi(t),i=bi(t),n=++yi;let s;return t._ukPlayer=new Promise((o=>{e&&Mt(t,"load",(()=>{const e=()=>wi(t,{event:"listening",id:n});s=setInterval(e,100),e()})),Mt(window,"message",o,!1,(({data:t})=>{try{return t=JSON.parse(t),e&&t?.id===n&&"onReady"===t.event||i&&Number(t?.player_id)===n}catch(t){}})),t.src=`${t.src}${h(t.src,"?")?"&":"?"}${e?"enablejsapi=1":`api=1&player_id=${n}`}`})).then((()=>clearInterval(s)))}(t),wi(t,e)}function wi(t,e){try{t.contentWindow.postMessage(JSON.stringify({event:"command",...e}),"*")}catch(t){}}let yi=0;function $i(t,e=0,i=0){return!!st(t)&&V(...zi(t).map((t=>{const{top:n,left:s,bottom:o,right:r}=Ei(t);return{top:n-e,left:s-i,bottom:o+e,right:r+i}})).concat(Ee(t)))}function Ai(t,{offset:e=0}={}){const i=st(t)?Ci(t,!1,["hidden"]):[];return i.reduce(((n,s,o)=>{const{scrollTop:r,scrollHeight:a,offsetHeight:l}=s,c=Ei(s),h=a-c.height,{height:d,top:u}=i[o-1]?Ei(i[o-1]):Ee(t);let f=Math.ceil(u-c.top-e+r);return e>0&&lh?(e-=f-h,f=h):f<0&&(e-=f,f=0),()=>function(t,e){return new Promise((i=>{const n=t.scrollTop,s=(r=Math.abs(e),40*Math.pow(r,.375)),o=Date.now();var r;!function r(){const a=(l=W((Date.now()-o)/s),.5*(1-Math.cos(Math.PI*l)));var l;t.scrollTop=n+e*a,1===a?i():requestAnimationFrame(r)}()}))}(s,f-r).then(n)}),(()=>Promise.resolve()))()}function qi(t,e=0,i=0){if(!st(t))return 0;const n=Si(t,!0),{scrollHeight:s,scrollTop:o}=n,{height:r}=Ei(n),a=s-r,l=Ie(t)[0]-Ie(n)[0],c=Math.max(0,l-r+e);return W((o-c)/(Math.min(a,l+t.offsetHeight-i)-c))}function Ci(t,e=!1,i=[]){const n=ki(t);let s=pt(t).reverse();s=s.slice(s.indexOf(n)+1);const o=d(s,(t=>"fixed"===Vt(t,"position")));return~o&&(s=s.slice(o)),[n].concat(s.filter((t=>Vt(t,"overflow").split(" ").some((t=>h(["auto","scroll",...i],t)))&&(!e||t.scrollHeight>Ei(t).height)))).reverse()}function Si(...t){return Ci(...t)[0]}function zi(t){return Ci(t,!1,["hidden","clip"])}function Ei(t){const e=N(t),{visualViewport:i,document:{documentElement:n}}=e;let s=t===ki(t)?e:t;if(b(s)&&i){let{height:t,width:e,scale:n,pageTop:s,pageLeft:o}=i;return t=Math.round(t*n),e=Math.round(e*n),{height:t,width:e,top:s,left:o,bottom:s+t,right:o+e}}let o=Ee(s);if("inline"===Vt(s,"display"))return o;for(let[t,e,i,r]of[["width","x","left","right"],["height","y","top","bottom"]]){b(s)?s=n:o[i]+=_(Vt(s,`border-${i}-width`));const l=o[t]%1;o[t]=o[e]=s[`client${a(t)}`]-(l?l<.5?-l:1-l:0),o[r]=o[t]+o[i]}return o}function ki(t){return N(t).document.scrollingElement}const Ii=[["width","x","left","right"],["height","y","top","bottom"]];function _i(t,e,i){i={attach:{element:["left","top"],target:["left","top"],...i.attach},offset:[0,0],placement:[],...i},u(e)||(e=[e,e]),Ee(t,Ti(t,e,i))}function Ti(t,e,i){const n=Pi(t,e,i),{boundary:s,viewportOffset:o=0,placement:r}=i;let a=n;for(const[l,[c,,h,d]]of Object.entries(Ii)){const u=Bi(t,e[l],o,s,l);if(Fi(n,u,l))continue;let f=0;if("flip"===r[l]){const s=i.attach.target[l];if(s===d&&n[d]<=u[d]||s===h&&n[h]>=u[h])continue;f=ji(t,e,i,l)[h]-n[h];const r=Oi(t,e[l],o,l);if(!Fi(Ni(n,f,l),r,l)){if(Fi(n,r,l))continue;if(i.recursion)return!1;const s=Hi(t,e,i);if(s&&Fi(s,r,1-l))return s;continue}}else if("shift"===r[l]){const t=Ee(e[l]),{offset:s}=i;f=W(W(n[h],u[h],u[d]-n[c]),t[h]-n[c]+s[l],t[d]-s[l])-n[h]}a=Ni(a,f,l)}return a}function Pi(t,e,i){let{attach:n,offset:s}={attach:{element:["left","top"],target:["left","top"],...i.attach},offset:[0,0],...i},o=Ee(t);for(const[t,[i,,r,a]]of Object.entries(Ii)){const l=n.target[t]===n.element[t]?Ei(e[t]):Ee(e[t]);o=Ni(o,l[r]-o[r]+Mi(n.target[t],a,l[i])-Mi(n.element[t],a,o[i])+ +s[t],t)}return o}function Ni(t,e,i){const[,n,s,o]=Ii[i],r={...t};return r[s]=t[n]=t[s]+e,r[o]+=e,r}function Mi(t,e,i){return"center"===t?i/2:t===e?i:0}function Bi(t,e,i,n,s){let o=Li(...Di(t,e).map(Ei));return i&&(o[Ii[s][2]]+=i,o[Ii[s][3]]-=i),n&&(o=Li(o,Ee(u(n)?n[s]:n))),o}function Oi(t,e,i,n){const[s,o,r,l]=Ii[n],[c]=Di(t,e),h=Ei(c);return["auto","scroll"].includes(Vt(c,`overflow-${o}`))&&(h[r]-=c[`scroll${a(r)}`],h[l]=h[r]+c[`scroll${a(s)}`]),h[r]+=i,h[l]-=i,h}function Di(t,e){return zi(e).filter((e=>ft(t,e)))}function Li(...t){let e={};for(const i of t)for(const[,,t,n]of Ii)e[t]=Math.max(e[t]||0,i[t]),e[n]=Math.min(...[e[n],i[n]].filter(Boolean));return e}function Fi(t,e,i){const[,,n,s]=Ii[i];return t[n]>=e[n]&&t[s]<=e[s]}function ji(t,e,{offset:i,attach:n},s){return Pi(t,e,{attach:{element:Wi(n.element,s),target:Wi(n.target,s)},offset:Vi(i,s)})}function Hi(t,e,i){return Ti(t,e,{...i,attach:{element:i.attach.element.map(Ri).reverse(),target:i.attach.target.map(Ri).reverse()},offset:i.offset.reverse(),placement:i.placement.reverse(),recursion:!0})}function Wi(t,e){const i=[...t],n=Ii[e].indexOf(t[e]);return~n&&(i[e]=Ii[e][1-n%2+2]),i}function Ri(t){for(let e=0;e{t._connected&&function(t,e){for(const{read:i,write:n,events:s=[]}of t._updates){if(!e.has("update")&&!s.some((t=>e.has(t))))continue;let o;i&&(o=i.call(t,t._data,e),o&&v(o)&&p(t._data,o)),n&&!1!==o&&Ze.write((()=>{t._connected&&n.call(t,t._data,e)}))}}(t,t._queued),delete t._queued}))),t._queued.add(e.type||e))}function Qi(t,e,n){t._hasComputed=!0,Object.defineProperty(t,e,{enumerable:!0,get(){const{_computed:s,$props:o,$el:r}=t;return i(s,e)||(s[e]=(n.get||n).call(t,o,r)),s[e]},set(i){const{_computed:s}=t;s[e]=n.set?n.set.call(t,i):i,E(s[e])&&delete s[e]}})}function Ji(t){t._hasComputed&&(function(t,e){t._updates.unshift(e)}(t,{read:()=>function(t,e){for(const{name:n,handler:s,immediate:o=!0}of t._watches)(t._initial&&o||i(e,n)&&!M(e[n],t[n]))&&s.call(t,t[n],e[n]);t._initial=!1}(t,Gi(t)),events:["resize","computed"]}),Ki||(Zi=new Set,Ki=new MutationObserver((()=>{for(const t of Zi)Yi(t,"computed")})),Ki.observe(document,{childList:!0,subtree:!0})),Zi.add(t))}function Gi(t){const e={...t._computed};return t._computed={},e}let Ki,Zi;function tn(t,e,i){let{name:n,el:s,handler:o,capture:r,passive:a,delegate:l,filter:c,self:h}=v(e)?e:{name:i,handler:e};s=g(s)?s.call(t,t):s||t.$el,u(s)?s.forEach((n=>tn(t,{...e,el:n},i))):!s||c&&!c.call(t)||t._events.push(Pt(s,n,l?q(l)?l:l.call(t,t):null,q(o)?t[o]:o.bind(t),{passive:a,capture:r,self:h}))}function en(t,...e){t._observers.push(...e)}function nn(t,e){let{observe:n,target:s=t.$el,handler:o,options:r,filter:a,args:l}=e;if(a&&!a.call(t,t))return;const c=`_observe${t._observers.length}`;g(s)&&!i(t,c)&&Qi(t,c,(()=>s.call(t,t))),o=q(o)?t[o]:o.bind(t),g(r)&&(r=r.call(t,t));const h=n(i(t,c)?t[c]:s,o,r,l);g(s)&&u(t[c])&&h.unobserve&&Xi(t,{handler:sn(h),immediate:!1},c),en(t,h)}function sn(t){return(e,i)=>{for(const n of i)!h(e,n)&&t.unobserve(n);for(const n of e)!h(i,n)&&t.observe(n)}}const on={};function rn(t,e,i){return on.computed(g(t)?t.call(i,i):t,g(e)?e.call(i,i):e)}function an(t,e){return t=t&&!u(t)?[t]:t,e?t?t.concat(e):u(e)?e:[e]:t}function ln(t,e){return E(e)?t:e}function cn(t,e,n){const s={};if(g(e)&&(e=e.options),e.extends&&(t=cn(t,e.extends,n)),e.mixins)for(const i of e.mixins)t=cn(t,i,n);for(const e in t)o(e);for(const n in e)i(t,n)||o(n);function o(i){s[i]=(on[i]||ln)(t[i],e[i],n)}return s}function hn(t,e=[]){try{return t?l(t,"{")?JSON.parse(t):e.length&&!h(t,":")?{[e[0]]:t}:t.split(";").reduce(((t,e)=>{const[i,n]=e.split(/:(.*)/);return i&&!E(n)&&(t[i.trim()]=n.trim()),t}),{}):{}}catch(t){return{}}}function dn(t,e){return t===Boolean?k(e):t===Number?I(e):"list"===t?function(t){return u(t)?t:q(t)?t.split(/,(?![^(]*\))/).map((t=>S(t)?I(t):k(t.trim()))):[t]}(e):t===Object&&q(e)?hn(e):t?t(e):e}function un(t){const e={},{args:i=[],props:n={},el:o,id:a}=t;if(!n)return e;for(const t in n){const i=s(t);let r=et(o,i);E(r)||(r=n[t]===Boolean&&""===r||dn(n[t],r),"target"===i&&l(r,"_")||(e[t]=r))}const c=hn(et(o,a),i);for(const t in c){const i=r(t);E(n[i])||(e[i]=dn(n[i],c[t]))}return e}function fn(t,e){return t.every((t=>!t||!i(t,e)))}function pn(t,e){t.$options[e]?.forEach((e=>e.call(t)))}function gn(t){t._connected||(function(t){const e=un(t.$options);for(let i in e)E(e[i])||(t.$props[i]=e[i]);const i=[t.$options.computed,t.$options.methods];for(let n in t.$props)n in e&&fn(i,n)&&(t[n]=t.$props[n])}(t),pn(t,"beforeConnect"),t._connected=!0,function(t){t._events=[];for(const e of t.$options.events||[])if(i(e,"handler"))tn(t,e);else for(const i in e)tn(t,e[i],i)}(t),function(t){t._data={},t._updates=[...t.$options.update||[]]}(t),function(t){t._watches=[];for(const e of t.$options.watch||[])for(const[i,n]of Object.entries(e))Xi(t,n,i);t._initial=!0}(t),function(t){t._observers=[];for(const e of t.$options.observe||[])if(i(e,"handler"))nn(t,e);else for(const i of e)nn(t,i)}(t),function(t){const{$options:e,$props:i}=t,{id:n,props:o,el:a}=e;if(!o)return;const l=Object.keys(o),c=l.map((t=>s(t))).concat(n),h=new MutationObserver((s=>{const o=un(e);s.some((({attributeName:t})=>{const e=t.replace("data-","");return(e===n?l:[r(e),r(t)]).some((t=>!E(o[t])&&o[t]!==i[t]))}))&&t.$reset()}));h.observe(a,{attributes:!0,attributeFilter:c.concat(c.map((t=>`data-${t}`)))}),en(t,h)}(t),Ji(t),pn(t,"connected"),Yi(t))}function mn(t){t._connected&&(pn(t,"beforeDisconnect"),function(t){t._events.forEach((t=>t())),delete t._events}(t),function(t){delete t._data}(t),function(t){for(const e of t._observers)e.disconnect()}(t),function(t){Zi?.delete(t),Gi(t)}(t),pn(t,"disconnected"),t._connected=!1)}on.events=on.watch=on.observe=on.created=on.beforeConnect=on.connected=on.beforeDisconnect=on.disconnected=on.destroy=an,on.args=function(t,e){return!1!==e&&an(e||t)},on.update=function(t,e){return L(an(t,g(e)?{read:e}:e),"order")},on.props=function(t,e){if(u(e)){const t={};for(const i of e)t[i]=String;e=t}return on.methods(t,e)},on.computed=on.methods=function(t,e){return e?t?{...t,...e}:e:t},on.i18n=on.data=function(t,e,i){return i?rn(t,e,i):e?t?function(i){return rn(t,e,i)}:e:t};let vn=0;function bn(t,e={}){e.data=function({data:t={}},{args:e=[],props:i={}}){u(t)&&(t=t.slice(0,e.length).reduce(((t,i,n)=>(v(i)?p(t,i):t[e[n]]=i,t)),{}));for(const e in t)E(t[e])?delete t[e]:i[e]&&(t[e]=dn(i[e],t[e]));return t}(e,t.constructor.options),t.$options=cn(t.constructor.options,e,t),t.$props={},t._uid=vn++,function(t){const{data:e={}}=t.$options;for(const i in e)t.$props[i]=t[i]=e[i]}(t),function(t){const{methods:e}=t.$options;if(e)for(const i in e)t[i]=e[i].bind(t)}(t),function(t){const{computed:e}=t.$options;if(t._computed={},e)for(const i in e)Qi(t,i,e[i])}(t),pn(t,"created"),e.el&&t.$mount(e.el)}const xn=function(t){bn(this,t)};xn.util=Ui,xn.options={},xn.version="3.16.19";const wn="__uikit__",yn={};function $n(t,e){const i="qx-"+s(t);if(!e)return v(yn[i])&&(yn[i]=xn.extend(yn[i])),yn[i];t=r(t),xn[t]=(e,i)=>An(t,e,i);const n=v(e)?{...e}:e.options;return n.id=i,n.name=t,n.install?.(xn,n,t),xn._initialized&&!n.functional&&requestAnimationFrame((()=>An(t,`[${i}],[data-${i}]`))),yn[i]=n}function An(t,e,i,...n){const s=$n(t);return s.options.functional?new s({data:v(e)?e:[e,i,...n]}):e?qe(e).map(o)[0]:o();function o(e){const n=Cn(e,t);if(n){if(!i)return n;n.$destroy()}return new s({el:e,data:i})}}function qn(t){return t?.[wn]||{}}function Cn(t,e){return qn(t)[e]}function Sn(t,e){t=t?T(t):document.body;for(const i of pt(t).reverse())zn(i,e);$e(t,(t=>zn(t,e)))}function zn(t,e){const i=qn(t);for(const t in i)Yi(i[t],e)}function En(t,e=t.$el,i=""){if(e.id)return e.id;let n=`${t.$options.id}-${t._uid}${i}`;return Ae(`#${n}`)&&(n=En(t,e,`${i}-2`)),n}function kn(t){Bt(document,"uikit:init",t),document.body&&$e(document.body,Tn),new MutationObserver((t=>t.forEach(In))).observe(document,{childList:!0,subtree:!0}),new MutationObserver((t=>t.forEach(_n))).observe(document,{attributes:!0,subtree:!0}),t._initialized=!0}function In({addedNodes:t,removedNodes:e}){for(const e of t)$e(e,Tn);for(const t of e)$e(t,Pn)}function _n({target:t,attributeName:e}){const i=Nn(e);if(i){if(Z(t,e))return void An(i,t);Cn(t,i)?.$destroy()}}function Tn(t){const e=qn(t);for(const i in qn(t))gn(e[i]);for(const e of t.getAttributeNames()){const i=Nn(e);i&&An(i,t)}}function Pn(t){const e=qn(t);for(const i in qn(t))mn(e[i])}function Nn(t){l(t,"data-")&&(t=t.slice(5));const e=yn[t];return e&&(v(e)?e:e.options).name}(function(t){let e;t.component=$n,t.getComponents=qn,t.getComponent=Cn,t.update=Sn,t.use=function(t){if(!t.installed)return t.call(null,this),t.installed=!0,this},t.mixin=function(t,e){(e=(q(e)?this.component(e):e)||this).options=cn(e.options,t)},t.extend=function(t){t||={};const e=this,i=function(t){bn(this,t)};return(i.prototype=Object.create(e.prototype)).constructor=i,i.options=cn(e.options,t),i.super=e,i.extend=e.extend,i},Object.defineProperty(t,"container",{get:()=>e||document.body,set(t){e=Ae(t)}})})(xn),function(t){t.prototype.$mount=function(t){const e=this;(function(t,e){t[wn]||(t[wn]={}),t[wn][e.$options.name]=e})(t,e),e.$options.el=t,ft(t,document)&&gn(e)},t.prototype.$destroy=function(t=!1){const e=this,{el:i}=e.$options;i&&mn(e),pn(e,"destroy"),function(t,e){delete t[wn]?.[e.$options.name],z(t[wn])||delete t[wn]}(i,e),t&&pe(e.$el)},t.prototype.$create=An,t.prototype.$emit=function(t){Yi(this,t)},t.prototype.$update=function(t=this.$el,e){Sn(t,e)},t.prototype.$reset=function(){mn(this),gn(this)},t.prototype.$getComponent=Cn,Object.defineProperties(t.prototype,{$el:{get(){return this.$options.el}},$container:Object.getOwnPropertyDescriptor(t,"container")})}(xn);var Mn={connected(){Xt(this.$el,this.$options.id)}},Bn={props:{cls:Boolean,animation:"list",duration:Number,velocity:Number,origin:String,transition:String},data:{cls:!1,animation:[!1],duration:200,velocity:.2,origin:!1,transition:"ease",clsEnter:"qx-togglabe-enter",clsLeave:"qx-togglabe-leave"},computed:{hasAnimation:({animation:t})=>!!t[0],hasTransition:({animation:t})=>["slide","reveal"].some((e=>l(t[0],e)))},methods:{async toggleElement(t,e,i){try{return await Promise.all(P(t).map((t=>{const n=A(e)?e:!this.isToggled(t);if(!Bt(t,"before"+(n?"show":"hide"),[this]))return Promise.reject();const s=(g(i)?i:!1!==i&&this.hasAnimation?this.hasTransition?Dn:Ln:On)(t,n,this),o=n?this.clsEnter:this.clsLeave;Xt(t,o),Bt(t,n?"show":"hide",[this]);const r=()=>{Yt(t,o),Bt(t,n?"shown":"hidden",[this])};return s?s.then(r,(()=>(Yt(t,o),Promise.reject()))):r()}))),!0}catch(t){return!1}},isToggled(t=this.$el){return!!Gt(t=T(t),this.clsEnter)||!Gt(t,this.clsLeave)&&(this.cls?Gt(t,this.cls.split(" ")[0]):st(t))},_toggle(t,e){if(!t)return;let i;e=Boolean(e),this.cls?(i=h(this.cls," ")||e!==Gt(t,this.cls),i&&Kt(t,this.cls,h(this.cls," ")?void 0:e)):(i=e===t.hidden,i&&(t.hidden=!e)),qe("[autofocus]",t).some((t=>st(t)?t.focus()||!0:t.blur())),i&&Bt(t,"toggled",[e,this])}}};function On(t,e,{_toggle:i}){return oe.cancel(t),ee.cancel(t),i(t,e)}async function Dn(t,e,{animation:i,duration:n,velocity:s,transition:o,_toggle:r}){const[a="reveal",l="top"]=i[0]?.split("-")||[],c=[["left","right"],["top","bottom"]],d=c[h(c[0],l)?0:1],u=d[1]===l,f=["width","height"][c.indexOf(d)],p=`margin-${d[0]}`,g=`margin-${l}`;let m=ze(t)[f];const v=ee.inProgress(t);await ee.cancel(t),e&&r(t,!0);const b=Object.fromEntries(["padding","border","width","height","minWidth","minHeight","overflowY","overflowX",p,g].map((e=>[e,t.style[e]]))),x=ze(t),w=_(Vt(t,p)),y=_(Vt(t,g)),$=x[f]+y;v||e||(m+=y);const[A]=me(t,"
");Vt(A,{boxSizing:"border-box",height:x.height,width:x.width,...Vt(t,["overflow","padding","borderTop","borderRight","borderBottom","borderLeft","borderImage",g])}),Vt(t,{padding:0,border:0,minWidth:0,minHeight:0,[g]:0,width:x.width,height:x.height,overflow:"hidden",[f]:m});const q=m/$;n=(s*$+n)*(e?1-q:q);const C={[f]:e?$:0};u&&(Vt(t,p,$-m+w),C[p]=e?w:$+w),!u^"reveal"===a&&(Vt(A,p,-$+m),ee.start(A,{[p]:e?0:-$},n,o));try{await ee.start(t,C,n,o)}finally{Vt(t,b),ve(A.firstChild),e||r(t,!1)}}function Ln(t,e,i){oe.cancel(t);const{animation:n,duration:s,_toggle:o}=i;return e?(o(t,!0),oe.in(t,n[0],s,i.origin)):oe.out(t,n[1]||n[0],s,i.origin).then((()=>o(t,!1)))}const Fn=9,jn=27,Hn=32,Wn=35,Rn=36,Vn=37,Un=38,Xn=39,Yn=40;function Qn(t){return is(ai,t,"resize")}function Jn(t){return is(oi,t)}function Gn(t){return is(ci,t)}function Kn(t={}){return Jn({handler:function(e,i){const{targets:n=this.$el,preload:s=5}=t;for(const t of P(g(n)?n(this):n))qe('[loading="lazy"]',t).slice(0,s-1).forEach((t=>tt(t,"loading")));for(const t of e.filter((({isIntersecting:t})=>t)).map((({target:t})=>t)))i.unobserve(t)},...t})}function Zn(){return is(((t,e)=>li(e)))}function ts(t){return is(((t,e)=>({disconnect:Pt(t,"scroll",e,{passive:!0,capture:!0})})),{target:()=>document,...t},"scroll")}function es(t){return{observe:(t,e)=>({observe:R,unobserve:R,disconnect:Pt(t,Xe,e,{passive:!0})}),handler(t){if(!Ht(t))return;const e=Wt(t),i="tagName"in t.target?t.target:ct(t.target);Mt(document,`${Qe} ${Ke} scroll`,(t=>{const{x:n,y:s}=Wt(t);("scroll"!==t.type&&i&&n&&Math.abs(e.x-n)>100||s&&Math.abs(e.y-s)>100)&&setTimeout((()=>{var t,o,r,a;Bt(i,"swipe"),Bt(i,"swipe"+(t=e.x,o=e.y,r=n,a=s,Math.abs(t-r)>=Math.abs(o-a)?t-r>0?"Left":"Right":o-a>0?"Up":"Down"))}))}))},...t}}function is(t,e,i){return{observe:t,handler(){this.$emit(i)},...e}}var ns={mixins:[Mn,Bn],props:{animation:Boolean,targets:String,active:null,collapsible:Boolean,multiple:Boolean,toggle:String,content:String,offset:Number},data:{targets:"> *",active:!1,animation:!0,collapsible:!0,multiple:!1,clsOpen:"qx-open",toggle:"> .qx-accordion-title",content:"> .qx-accordion-content",offset:0},computed:{items:({targets:t},e)=>qe(t,e),toggles({toggle:t}){return this.items.map((e=>Ae(t,e)))},contents({content:t}){return this.items.map((e=>e._wrapper?.firstElementChild||Ae(t,e)))}},watch:{items(t,e){if(e||Gt(t,this.clsOpen))return;const i=!1!==this.active&&t[Number(this.active)]||!this.collapsible&&t[0];i&&this.toggle(i,!1)},toggles(){this.$emit()},contents(t){for(const e of t){const t=Gt(this.items.find((t=>ft(e,t))),this.clsOpen);ss(e,!t)}this.$emit()}},observe:Kn(),events:[{name:"click keydown",delegate(){return`${this.targets} ${this.$props.toggle}`},async handler(t){"keydown"===t.type&&t.keyCode!==Hn||(t.preventDefault(),this._off?.(),this._off=function(t){const e=Si(t,!0);let i;return function n(){i=requestAnimationFrame((()=>{const{top:i}=t.getBoundingClientRect();i<0&&(e.scrollTop+=i),n()}))}(),()=>requestAnimationFrame((()=>cancelAnimationFrame(i)))}(t.target),await this.toggle(mt(this.toggles,t.current)),this._off())}},{name:"shown hidden",self:!0,delegate(){return this.targets},handler(){this.$emit()}}],update(){const t=ht(this.items,`.${this.clsOpen}`);for(const e in this.items){const i=this.toggles[e],n=this.contents[e];if(!i||!n)continue;i.id=En(this,i,`-title-${e}`),n.id=En(this,n,`-content-${e}`);const s=h(t,this.items[e]);K(i,{role:re(i,"a")?"button":null,"aria-controls":n.id,"aria-expanded":s,"aria-disabled":!this.collapsible&&t.length<2&&s}),K(n,{role:"region","aria-labelledby":i.id}),re(n,"ul")&&K(gt(n),"role","presentation")}},methods:{toggle(t,e){let i=[t=this.items[J(t,this.items)]];const n=ht(this.items,`.${this.clsOpen}`);if(this.multiple||h(n,i[0])||(i=i.concat(n)),!(!this.collapsible&&n.length<2&&h(n,t)))return Promise.all(i.map((t=>this.toggleElement(t,!h(n,t),((t,i)=>{if(Kt(t,this.clsOpen,i),!1!==e&&this.animation)return async function(t,e,{content:i,duration:n,velocity:s,transition:o}){i=t._wrapper?.firstElementChild||Ae(i,t),t._wrapper||(t._wrapper=ge(i,"
"));const r=t._wrapper;Vt(r,"overflow","hidden");const a=_(Vt(r,"height"));await ee.cancel(r),ss(i,!1);const l=F(["marginTop","marginBottom"],(t=>Vt(i,t)))+ze(i).height,c=a/l;n=(s*l+n)*(e?1-c:c),Vt(r,"height",a),await ee.start(r,{height:e?l:0},n,o),ve(i),delete t._wrapper,e||ss(i,!0)}(t,i,this);ss(Ae(this.content,t),!i)})))))}}};function ss(t,e){t&&(t.hidden=e)}var os={mixins:[Mn,Bn],args:"animation",props:{animation:Boolean,close:String},data:{animation:!0,selClose:".qx-alert-close",duration:150},events:{name:"click",delegate(){return this.selClose},handler(t){t.preventDefault(),this.close()}},methods:{async close(){await this.toggleElement(this.$el,!1,rs),this.$destroy(!0)}}};function rs(t,e,{duration:i,transition:n,velocity:s}){const o=_(Vt(t,"height"));return Vt(t,"height",o),ee.start(t,{height:0,marginTop:0,marginBottom:0,paddingTop:0,paddingBottom:0,borderTop:0,borderBottom:0,opacity:0},s*o+i,n)}var as={args:"autoplay",props:{automute:Boolean,autoplay:Boolean},data:{automute:!1,autoplay:!0},connected(){this.inView="inview"===this.autoplay,this.inView&&!Z(this.$el,"preload")&&(this.$el.preload="none"),re(this.$el,"iframe")&&!Z(this.$el,"allow")&&(this.$el.allow="autoplay"),this.automute&&fi(this.$el)},observe:[Jn({args:{intersecting:!1}}),Qn()],update:{read({visible:t}){return!!pi(this.$el)&&{prev:t,visible:st(this.$el),inView:this.inView&&$i(this.$el)}},write({prev:t,visible:e,inView:i}){!e||this.inView&&!i?ui(this.$el):(!0===this.autoplay&&!t||i)&&di(this.$el)},events:["resize"]}},ls={mixins:[as],props:{width:Number,height:Number},data:{automute:!0},events:{"load loadedmetadata"(){this.$emit("resize")}},observe:Qn({target:({$el:t})=>[cs(t)||ct(t)]}),update:{read(){const{ratio:t,cover:e}=Q,{$el:i,width:n,height:s}=this;let o={width:n,height:s};if(!n||!s){const e={width:i.naturalWidth||i.videoWidth||i.clientWidth,height:i.naturalHeight||i.videoHeight||i.clientHeight};o=n?t(e,"width",n):s?t(e,"height",s):e}const{offsetHeight:r,offsetWidth:a}=cs(i)||ct(i),l=e(o,{width:a+(a%2?1:0),height:r+(r%2?1:0)});return!(!l.width||!l.height)&&l},write({height:t,width:e}){Vt(this.$el,{height:t,width:e})},events:["resize"]}};function cs(t){for(;t=ct(t);)if("static"!==Vt(t,"position"))return t}var hs={props:{pos:String,offset:null,flip:Boolean,shift:Boolean,inset:Boolean},data:{pos:"bottom-"+(Re?"right":"left"),offset:!1,flip:!0,shift:!0,inset:!1},connected(){this.pos=this.$props.pos.split("-").concat("center").slice(0,2),[this.dir,this.align]=this.pos,this.axis=h(["top","bottom"],this.dir)?"y":"x"},methods:{positionAt(t,e,i){let n=[this.getPositionOffset(t),this.getShiftOffset(t)];const s=[this.flip&&"flip",this.shift&&"shift"],o={element:[this.inset?this.dir:Me(this.dir),this.align],target:[this.dir,this.align]};if("y"===this.axis){for(const t in o)o[t].reverse();n.reverse(),s.reverse()}const r=function(t){const e=Si(t),{scrollTop:i}=e;return()=>{i!==e.scrollTop&&(e.scrollTop=i)}}(t),a=ze(t);Vt(t,{top:-a.height,left:-a.width}),_i(t,e,{attach:o,offset:n,boundary:i,placement:s,viewportOffset:this.getViewportOffset(t)}),r()},getPositionOffset(t){return Be(!1===this.offset?Vt(t,"--qx-position-offset"):this.offset,"x"===this.axis?"width":"height",t)*(h(["left","top"],this.dir)?-1:1)*(this.inset?-1:1)},getShiftOffset(t){return"center"===this.align?0:Be(Vt(t,"--qx-position-shift-offset"),"y"===this.axis?"width":"height",t)*(h(["left","top"],this.align)?1:-1)},getViewportOffset:t=>Be(Vt(t,"--qx-position-viewport-offset"))}};var ds={props:{container:Boolean},data:{container:!0},computed:{container({container:t}){return!0===t&&this.$container||t&&Ae(t)}}};let us,fs;function ps(t){const e=Pt(t,"touchmove",(t=>{if(1!==t.targetTouches.length||dt(t.target,'input[type="range"'))return;let{scrollHeight:e,clientHeight:i}=Si(t.target);i>=e&&t.cancelable&&t.preventDefault()}),{passive:!1});if(us)return e;us=!0;const{scrollingElement:i}=document;return Vt(i,{overflowY:CSS.supports("overflow","clip")?"clip":"hidden",touchAction:"none",paddingRight:Te(window)-i.clientWidth||""}),()=>{us=!1,e(),Vt(i,{overflowY:"",touchAction:"",paddingRight:""})}}var gs={mixins:[ds,hs,Bn],args:"pos",props:{mode:"list",toggle:Boolean,boundary:Boolean,boundaryX:Boolean,boundaryY:Boolean,target:Boolean,targetX:Boolean,targetY:Boolean,stretch:Boolean,delayShow:Number,delayHide:Number,autoUpdate:Boolean,clsDrop:String,animateOut:Boolean,bgScroll:Boolean},data:{mode:["click","hover"],toggle:"- *",boundary:!1,boundaryX:!1,boundaryY:!1,target:!1,targetX:!1,targetY:!1,stretch:!1,delayShow:0,delayHide:800,autoUpdate:!0,clsDrop:!1,animateOut:!1,bgScroll:!0,animation:["qx-animation-fade"],cls:"qx-open",container:!1},computed:{boundary:({boundary:t,boundaryX:e,boundaryY:i},n)=>[xt(e||t,n)||window,xt(i||t,n)||window],target({target:t,targetX:e,targetY:i},n){return e||=t||this.targetEl,i||=t||this.targetEl,[!0===e?window:xt(e,n),!0===i?window:xt(i,n)]}},created(){this.tracker=new si},beforeConnect(){this.clsDrop=this.$props.clsDrop||`qx-${this.$options.name}`},connected(){Xt(this.$el,"qx-drop",this.clsDrop),this.toggle&&!this.targetEl&&(this.targetEl=function(t){const{$el:e}=t.$create("toggle",xt(t.toggle,t.$el),{target:t.$el,mode:t.mode});return K(e,"aria-haspopup",!0),e}(this)),this._style=H(this.$el.style,["width","height"])},disconnected(){this.isActive()&&(this.hide(!1),fs=null),Vt(this.$el,this._style)},observe:Kn({target:({toggle:t,$el:e})=>xt(t,e),targets:({$el:t})=>t}),events:[{name:"click",delegate:()=>".qx-drop-close",handler(t){t.preventDefault(),this.hide(!1)}},{name:"click",delegate:()=>'a[href*="#"]',handler({defaultPrevented:t,current:e}){const{hash:i}=e;!t&&i&&vt(e)&&!ft(i,this.$el)&&this.hide(!1)}},{name:"beforescroll",handler(){this.hide(!1)}},{name:"toggle",self:!0,handler(t,e){t.preventDefault(),this.isToggled()?this.hide(!1):this.show(e?.$el,!1)}},{name:"toggleshow",self:!0,handler(t,e){t.preventDefault(),this.show(e?.$el)}},{name:"togglehide",self:!0,handler(t){t.preventDefault(),dt(this.$el,":focus,:hover")||this.hide()}},{name:`${Je} focusin`,filter(){return h(this.mode,"hover")},handler(t){Ht(t)||this.clearTimers()}},{name:`${Ge} focusout`,filter(){return h(this.mode,"hover")},handler(t){!Ht(t)&&t.relatedTarget&&this.hide()}},{name:"toggled",self:!0,handler(t,e){K(this.targetEl,"aria-expanded",!!e||null),e&&(this.clearTimers(),this.position())}},{name:"show",self:!0,handler(){fs=this,this.tracker.init();const t=[ms(this),bs(this),xs(this),this.autoUpdate&&vs(this),!this.bgScroll&&ps(this.$el)];Mt(this.$el,"hide",(()=>t.forEach((t=>t&&t()))),{self:!0})}},{name:"beforehide",self:!0,handler(){this.clearTimers()}},{name:"hide",handler({target:t}){this.$el===t?(fs=this.isActive()?null:fs,this.tracker.cancel()):fs=null===fs&&ft(t,this.$el)&&this.isToggled()?this:fs}}],update:{write(){this.isToggled()&&!Gt(this.$el,this.clsEnter)&&this.position()}},methods:{show(t=this.targetEl,e=!0){if(this.isToggled()&&t&&this.targetEl&&t!==this.targetEl&&this.hide(!1,!1),this.targetEl=t,this.clearTimers(),!this.isActive()){if(fs){if(e&&fs.isDelaying)return void(this.showTimer=setTimeout((()=>dt(t,":hover")&&this.show()),10));let i;for(;fs&&i!==fs&&!ft(this.$el,fs.$el);)i=fs,fs.hide(!1,!1)}this.container&&ct(this.$el)!==this.container&&he(this.container,this.$el),this.showTimer=setTimeout((()=>this.toggleElement(this.$el,!0)),e&&this.delayShow||0)}},hide(t=!0,e=!0){const i=()=>this.toggleElement(this.$el,!1,this.animateOut&&e);this.clearTimers(),this.isDelaying=function(t){const e=[];return $e(t,(t=>"static"!==Vt(t,"position")&&e.push(t))),e}(this.$el).some((t=>this.tracker.movesTo(t))),t&&this.isDelaying?this.hideTimer=setTimeout(this.hide,50):t&&this.delayHide?this.hideTimer=setTimeout(i,this.delayHide):i()},clearTimers(){clearTimeout(this.showTimer),clearTimeout(this.hideTimer),this.showTimer=null,this.hideTimer=null,this.isDelaying=!1},isActive(){return fs===this},position(){Yt(this.$el,"qx-drop-stack"),Vt(this.$el,this._style),this.$el.hidden=!0;const t=this.target.map((t=>function(t,e){return Ei(zi(e).find((e=>ft(t,e))))}(this.$el,t))),e=this.getViewportOffset(this.$el),i=[[0,["x","width","left","right"]],[1,["y","height","top","bottom"]]];for(const[n,[s,o]]of i)this.axis!==s&&h([s,!0],this.stretch)&&Vt(this.$el,{[o]:Math.min(Ee(this.boundary[n])[o],t[n][o]-2*e),[`overflow-${s}`]:"auto"});const n=t[0].width-2*e;this.$el.hidden=!1,Vt(this.$el,"maxWidth",""),this.$el.offsetWidth>n&&Xt(this.$el,"qx-drop-stack"),Vt(this.$el,"maxWidth",n),this.positionAt(this.$el,this.target,this.boundary);for(const[n,[s,o,r,a]]of i)if(this.axis===s&&h([s,!0],this.stretch)){const i=Math.abs(this.getPositionOffset(this.$el)),l=Ee(this.target[n]),c=Ee(this.$el);Vt(this.$el,{[o]:(l[r]>c[r]?l[this.inset?a:r]-Math.max(Ee(this.boundary[n])[r],t[n][r]+e):Math.min(Ee(this.boundary[n])[a],t[n][a]-e)-l[this.inset?r:a])-i,[`overflow-${s}`]:"auto"}),this.positionAt(this.$el,this.target,this.boundary)}}}};function ms(t){const e=()=>t.$emit(),i=[li(e),ai(zi(t.$el).concat(t.target),e)];return()=>i.map((t=>t.disconnect()))}function vs(t){return Pt([document,...zi(t.$el)],"scroll",(()=>t.$emit()),{passive:!0})}function bs(t){return Pt(document,"keydown",(e=>{e.keyCode===jn&&t.hide(!1)}))}function xs(t){return Pt(document,Xe,(({target:e})=>{ft(e,t.$el)||Mt(document,`${Qe} ${Ke} scroll`,(({defaultPrevented:i,type:n,target:s})=>{i||n!==Qe||e!==s||t.targetEl&&ft(e,t.targetEl)||t.hide(!1)}),!0)}))}var ws={mixins:[Mn,ds],props:{align:String,clsDrop:String,boundary:Boolean,dropbar:Boolean,dropbarAnchor:Boolean,duration:Number,mode:Boolean,offset:Boolean,stretch:Boolean,delayShow:Boolean,delayHide:Boolean,target:Boolean,targetX:Boolean,targetY:Boolean,animation:Boolean,animateOut:Boolean},data:{align:Re?"right":"left",clsDrop:"qx-dropdown",clsDropbar:"qx-dropnav-dropbar",boundary:!0,dropbar:!1,dropbarAnchor:!1,duration:200,container:!1,selNavItem:"> li > a, > ul > li > a"},computed:{dropbarAnchor:({dropbarAnchor:t},e)=>xt(t,e)||e,dropbar({dropbar:t}){return t?(t=this._dropbar||xt(t,this.$el)||Ae(`+ .${this.clsDropbar}`,this.$el))||(this._dropbar=Ae("
")):null},dropContainer(t,e){return this.container||e},dropdowns({clsDrop:t},e){const i=qe(`.${t}`,e);if(this.dropContainer!==e)for(const e of qe(`.${t}`,this.dropContainer)){const t=this.getDropdown(e)?.targetEl;!h(i,e)&&t&&ft(t,this.$el)&&i.push(e)}return i},items:({selNavItem:t},e)=>qe(t,e)},watch:{dropbar(t){Xt(t,"qx-dropbar","qx-dropbar-top",this.clsDropbar,`qx-${this.$options.name}-dropbar`)},dropdowns(t){this.$create("drop",t.filter((t=>!this.getDropdown(t))),{...this.$props,flip:!1,shift:!0,pos:`bottom-${this.align}`,boundary:!0===this.boundary?this.$el:this.boundary})}},disconnected(){pe(this._dropbar),delete this._dropbar},events:[{name:"mouseover focusin",delegate(){return this.selNavItem},handler({current:t}){const e=this.getActive();e&&h(e.mode,"hover")&&e.targetEl&&!ft(e.targetEl,t)&&!e.isDelaying&&e.hide(!1)}},{name:"keydown",self:!0,delegate(){return this.selNavItem},handler(t){const{current:e,keyCode:i}=t,n=this.getActive();i===Yn&&n?.targetEl===e&&(t.preventDefault(),Ae(at,n.$el)?.focus()),ys(t,this.items,n)}},{name:"keydown",el(){return this.dropContainer},delegate(){return`.${this.clsDrop}`},handler(t){const{current:e,keyCode:i}=t;if(!h(this.dropdowns,e))return;const n=this.getActive();let s=-1;if(i===Rn?s=0:i===Wn?s="last":i===Un?s="previous":i===Yn?s="next":i===jn&&n.targetEl?.focus(),~s){t.preventDefault();const i=qe(at,e);i[J(s,i,d(i,(t=>dt(t,":focus"))))].focus()}ys(t,this.items,n)}},{name:"mouseleave",el(){return this.dropbar},filter(){return this.dropbar},handler(){const t=this.getActive();t&&h(t.mode,"hover")&&!this.dropdowns.some((t=>dt(t,":hover")))&&t.hide()}},{name:"beforeshow",el(){return this.dropContainer},filter(){return this.dropbar},handler({target:t}){this.isDropbarDrop(t)&&(this.dropbar.previousElementSibling!==this.dropbarAnchor&&ue(this.dropbarAnchor,this.dropbar),Xt(t,`${this.clsDrop}-dropbar`))}},{name:"show",el(){return this.dropContainer},filter(){return this.dropbar},handler({target:t}){if(!this.isDropbarDrop(t))return;const e=this.getDropdown(t),i=()=>{const e=pt(t,`.${this.clsDrop}`).concat(t).map((t=>Ee(t))),i=Math.min(...e.map((({top:t})=>t))),n=Math.max(...e.map((({bottom:t})=>t))),s=Ee(this.dropbar);Vt(this.dropbar,"top",this.dropbar.offsetTop-(s.top-i)),this.transitionTo(n-i+_(Vt(t,"marginBottom")),t)};this._observer=ai([e.$el,...e.target],i),i()}},{name:"beforehide",el(){return this.dropContainer},filter(){return this.dropbar},handler(t){const e=this.getActive();dt(this.dropbar,":hover")&&e.$el===t.target&&!this.items.some((t=>e.targetEl!==t&&dt(t,":focus")))&&t.preventDefault()}},{name:"hide",el(){return this.dropContainer},filter(){return this.dropbar},handler({target:t}){if(!this.isDropbarDrop(t))return;this._observer?.disconnect();const e=this.getActive();e&&e.$el!==t||this.transitionTo(0)}}],methods:{getActive(){return h(this.dropdowns,fs?.$el)&&fs},async transitionTo(t,e){const{dropbar:i}=this,n=_e(i);e=nVt(e,{clipPath:""})))]).catch(R)},getDropdown(t){return this.$getComponent(t,"drop")||this.$getComponent(t,"dropdown")},isDropbarDrop(t){return this.getDropdown(t)&&Gt(t,this.clsDrop)}}};function ys(t,e,i){const{current:n,keyCode:s}=t;let o=-1;s===Rn?o=0:s===Wn?o="last":s===Vn?o="previous":s===Xn?o="next":s===Fn&&(i.targetEl?.focus(),i.hide?.(!1)),~o&&(t.preventDefault(),i.hide?.(!1),e[J(o,e,e.indexOf(i.targetEl||n))].focus())}var $s={mixins:[Mn],args:"target",props:{target:Boolean},data:{target:!1},computed:{input:(t,e)=>Ae(ot,e),state(){return this.input.nextElementSibling},target({target:t},e){return t&&(!0===t&&ct(this.input)===e&&this.input.nextElementSibling||Ae(t,e))}},update(){const{target:t,input:e}=this;if(!t)return;let i;const n=rt(t)?"value":"textContent",s=t[n],o=e.files?.[0]?e.files[0].name:dt(e,"select")&&(i=qe("option",e).filter((t=>t.selected))[0])?i.textContent:e.value;s!==o&&(t[n]=o)},events:[{name:"change",handler(){this.$emit()}},{name:"reset",el(){return ut(this.$el,"form")},handler(){this.$emit()}}]},As={props:{margin:String,firstColumn:Boolean},data:{margin:"qx-margin-small-top",firstColumn:"qx-first-column"},observe:[Gn({options:{childList:!0,attributes:!0,attributeFilter:["style"]}}),Qn({target:({$el:t})=>[t,...gt(t)]})],update:{read(){const t=qs(this.$el.children);return{rows:t,columns:Cs(t)}},write({columns:t,rows:e}){for(const i of e)for(const n of i)Kt(n,this.margin,e[0]!==i),Kt(n,this.firstColumn,t[0].includes(n))},events:["resize"]}};function qs(t){return Ss(t,"top","bottom")}function Cs(t){const e=[];for(const i of t){const t=Ss(i,"left","right");for(let i=0;i=0;o--){const r=n[o];if(!r[0]){r.push(s);break}let a;if(r[0].offsetParent===s.offsetParent?a=zs(r[0]):(t=zs(s,!0),a=zs(r[0],!0)),t[e]>=a[i]-1&&t[e]!==a[e]){n.push([s]);break}if(t[i]-1>a[e]||t[e]===a[e]){r.push(s);break}if(0===o){n.unshift([s]);break}}}return n}function zs(t,e=!1){let{offsetTop:i,offsetLeft:n,offsetHeight:s,offsetWidth:o}=t;return e&&([i,n]=Ie(t)),{top:i,left:n,bottom:i+s,right:n+o}}var Es={extends:As,mixins:[Mn],name:"grid",props:{masonry:Boolean,parallax:Number},data:{margin:"qx-grid-margin",clsStack:"qx-grid-stack",masonry:!1,parallax:0},connected(){this.masonry&&Xt(this.$el,"qx-flex-top qx-flex-wrap-top")},observe:ts({filter:({parallax:t})=>t}),update:[{write({columns:t}){Kt(this.$el,this.clsStack,t.length<2)},events:["resize"]},{read(t){let{columns:e,rows:i}=t;if(!e.length||!this.masonry&&!this.parallax||ks(this.$el))return t.translates=!1,!1;let n=!1;const s=gt(this.$el),o=e.map((t=>F(t,"offsetHeight"))),r=function(t,e){const[i]=t.filter((t=>Gt(t,e)));return _(i?Vt(i,"marginTop"):Vt(t[0],"paddingLeft"))}(s,this.margin)*(i.length-1),a=Math.max(...o)+r;this.masonry&&(e=e.map((t=>L(t,"offsetTop"))),n=function(t,e){const i=t.map((t=>Math.max(...t.map((t=>t.offsetHeight)))));return e.map((t=>{let e=0;return t.map(((n,s)=>e+=s?i[s-1]-t[s-1].offsetHeight:0))}))}(i,e));let l=Math.abs(this.parallax);return l&&(l=o.reduce(((t,e,i)=>Math.max(t,e+r+(i%2?l:l/8)-a)),0)),{padding:l,columns:e,translates:n,height:n?a:""}},write({height:t,padding:e}){Vt(this.$el,"paddingBottom",e||""),!1!==t&&Vt(this.$el,"height",t)},events:["resize"]},{read(){return(!this.parallax||!ks(this.$el))&&{scrolled:!!this.parallax&&qi(this.$el)*Math.abs(this.parallax)}},write({columns:t,scrolled:e,translates:i}){(!1!==e||i)&&t.forEach(((t,n)=>t.forEach(((t,s)=>Vt(t,"transform",e||i?`translateY(${(i&&-i[n][s])+(e?n%2?e:e/8:0)}px)`:"")))))},events:["scroll","resize"]}]};function ks(t){return gt(t).some((t=>"absolute"===Vt(t,"position")))}var Is={args:"target",props:{target:String,row:Boolean},data:{target:"> *",row:!0},computed:{elements:({target:t},e)=>qe(t,e)},observe:Qn({target:({$el:t,elements:e})=>[t,...e]}),update:{read(){return{rows:(this.row?qs(this.elements):[this.elements]).map(_s)}},write({rows:t}){for(const{heights:e,elements:i}of t)i.forEach(((t,i)=>Vt(t,"minHeight",e[i])))},events:["resize"]}};function _s(t){if(t.length<2)return{heights:[""],elements:t};let e=t.map(Ts);const i=Math.max(...e);return{heights:t.map(((t,n)=>e[n].toFixed(2)===i.toFixed(2)?"":i)),elements:t}}function Ts(t){const e=H(t.style,["display","minHeight"]);st(t)||Vt(t,"display","block","important"),Vt(t,"minHeight","");const i=ze(t).height-Ne(t,"height","content-box");return Vt(t,e),i}var Ps={props:{expand:Boolean,offsetTop:Boolean,offsetBottom:Boolean,minHeight:Number},data:{expand:!1,offsetTop:!1,offsetBottom:!1,minHeight:0},observe:Qn({target:({$el:t})=>[t,...Ci(t)]}),update:{read({minHeight:t}){if(!st(this.$el))return!1;let e="";const i=Ne(this.$el,"height","content-box"),{body:n,scrollingElement:s}=document,o=Si(this.$el),{height:r}=Ei(o===n?s:o);if(this.expand)e=Math.max(r-(ze(o).height-ze(this.$el).height)-i,0);else{const t=s===o||n===o;if(e="calc("+(t?"100vh":`${r}px`),this.offsetTop)if(t){const t=Ie(this.$el)[0]-Ie(o)[0];e+=t>0&&t{if(!this._connected)return;const e=function(t,e){if(nt(e)||re(e,"canvas")){e.hidden=!0;const i=e.nextElementSibling;return Ms(t,i)?i:ue(e,t)}const i=e.lastElementChild;return Ms(t,i)?i:he(e,t)}(t,this.$el);return this.svgEl&&e!==this.svgEl&&pe(this.svgEl),Bs.call(this,e,t),this.svgEl=e}),R)},disconnected(){this.svg.then((t=>{this._connected||(nt(this.$el)&&(this.$el.hidden=!1),pe(t),this.svgEl=null)})),this.svg=null},methods:{async getSvg(){}}};function Ms(t,e){return re(t,"svg")&&re(e,"svg")&&t.innerHTML===e.innerHTML}function Bs(t,e){const i=["width","height"];let n=i.map((t=>this[t]));n.some((t=>t))||(n=i.map((t=>K(e,t))));const s=K(e,"viewBox");s&&!n.some((t=>t))&&(n=s.split(" ").slice(2)),n.forEach(((e,n)=>K(t,i[n],_(e)*this.ratio||null)))}var Os={props:{i18n:Object},data:{i18n:null},methods:{t(t,...e){let i=0;return(this.i18n?.[t]||this.$options.i18n?.[t])?.replace(/%s/g,(()=>e[i++]||""))||""}}};const Ds={spinner:'',totop:'',marker:'',"close-icon":'',"close-large":'',"drop-parent-icon":'',"nav-parent-icon":'',"nav-parent-icon-large":'',"navbar-parent-icon":'',"navbar-toggle-icon":'',"overlay-icon":'',"pagination-next":'',"pagination-previous":'',"search-icon":'',"search-large":'',"search-navbar":'',"slidenav-next":'',"slidenav-next-large":'',"slidenav-previous":'',"slidenav-previous-large":''},Ls={install:function(t){t.icon.add=(e,i)=>{const n=q(e)?{[e]:i}:e;D(n,((t,e)=>{Ds[e]=t,delete Ks[e]})),t._initialized&&$e(document.body,(e=>D(t.getComponents(e),(t=>{t.$options.isIcon&&t.icon in n&&t.$reset()}))))}},mixins:[Ns],args:"icon",props:{icon:String},isIcon:!0,beforeConnect(){Xt(this.$el,"qx-icon")},methods:{async getSvg(){const t=function(t){return Ds[t]?(Ks[t]||(Ks[t]=Ae((Ds[function(t){return Re?B(B(t,"left","right"),"previous","next"):t}(t)]||Ds[t]).trim())),Ks[t].cloneNode(!0)):null}(this.icon);if(!t)throw"Icon not found.";return t}}},Fs={args:!1,extends:Ls,data:t=>({icon:s(t.constructor.options.name)}),beforeConnect(){Xt(this.$el,this.$options.id)}},js={extends:Fs,beforeConnect(){const t=this.$props.icon;this.icon=ut(this.$el,".qx-nav-primary")?`${t}-large`:t}},Hs={extends:Fs,mixins:[Os],i18n:{toggle:"Open Search",submit:"Submit Search"},beforeConnect(){if(this.icon=Gt(this.$el,"qx-search-icon")&&pt(this.$el,".qx-search-large").length?"search-large":pt(this.$el,".qx-search-navbar").length?"search-navbar":this.$props.icon,!Z(this.$el,"aria-label"))if(Gt(this.$el,"qx-search-toggle")||Gt(this.$el,"qx-navbar-toggle")){const t=this.t("toggle");K(this.$el,"aria-label",t)}else{const t=ut(this.$el,"a,button");t&&K(t,"aria-label",this.t("submit"))}}},Ws={extends:Fs,beforeConnect(){K(this.$el,"role","status")},methods:{async getSvg(){const t=await Ls.methods.getSvg.call(this);return 1!==this.ratio&&Vt(Ae("circle",t),"strokeWidth",1/this.ratio),t}}},Rs={extends:Fs,mixins:[Os],beforeConnect(){const t=ut(this.$el,"a,button");K(t,"role",null!==this.role&&re(t,"a")?"button":this.role);const e=this.t("label");e&&!Z(t,"aria-label")&&K(t,"aria-label",e)}},Vs={extends:Rs,beforeConnect(){Xt(this.$el,"qx-slidenav");const t=this.$props.icon;this.icon=Gt(this.$el,"qx-slidenav-large")?`${t}-large`:t}},Us={extends:Rs,i18n:{label:"Open menu"}},Xs={extends:Rs,i18n:{label:"Close"},beforeConnect(){this.icon="close-"+(Gt(this.$el,"qx-close-large")?"large":"icon")}},Ys={extends:Rs,i18n:{label:"Open"}},Qs={extends:Rs,i18n:{label:"Back to top"}},Js={extends:Rs,i18n:{label:"Next page"},data:{role:null}},Gs={extends:Rs,i18n:{label:"Previous page"},data:{role:null}},Ks={};const Zs=We&&"loading"in HTMLImageElement.prototype;var to={args:"dataSrc",props:{dataSrc:String,sources:String,margin:String,target:String,loading:String},data:{dataSrc:"",sources:!1,margin:"50%",target:!1,loading:"lazy"},connected(){var t;"lazy"===this.loading?(Zs&&so(this.$el)&&(this.$el.loading="lazy",eo(this.$el)),so(t=this.$el)&&!Z(t,"src")&&K(t,"src",'data:image/svg+xml;utf8,')):this.load()},disconnected(){this.img&&(this.img.onload=""),delete this.img},observe:Jn({target:({$el:t,$props:e})=>[t,...wt(e.target,t)],handler(t,e){this.load(),e.disconnect()},options:({margin:t})=>({rootMargin:t}),filter:({loading:t})=>"lazy"===t}),methods:{load(){if(this.img)return this.img;const t=so(this.$el)?this.$el:function(t,e,i){const n=new Image;return function(t,e){if((e=function(t){if(!t)return[];if(l(t,"["))try{t=JSON.parse(t)}catch(e){t=[]}else t=hn(t);return u(t)||(t=[t]),t.filter((t=>!z(t)))}(e)).length){const i=we("");for(const t of e){const e=we("");K(e,t),he(i,e)}he(i,t)}}(n,i),no(t,n),n.onload=()=>{eo(t,n.currentSrc)},K(n,"src",e),n}(this.$el,this.dataSrc,this.sources);return tt(t,"loading"),eo(this.$el,t.currentSrc),this.img=t}}};function eo(t,e){if(so(t)){const e=ct(t);(re(e,"picture")?gt(e):[t]).forEach((t=>no(t,t)))}else e&&!h(t.style.backgroundImage,e)&&(Vt(t,"backgroundImage",`url(${Tt(e)})`),Bt(t,Ot("load",!1)))}const io=["data-src","data-srcset","sizes"];function no(t,e){for(const i of io){const n=et(t,i);n&&K(e,i.replace(/^(data-)+/,""),n)}}function so(t){return re(t,"img")}var oo={props:{media:Boolean},data:{media:!1},connected(){const t=function(t,e){if(q(t))if(l(t,"@"))t=_(Vt(e,`--qx-breakpoint-${t.substr(1)}`));else if(isNaN(t))return t;return t&&S(t)?`(min-width: ${t}px)`:""}(this.media,this.$el);if(this.matchMedia=!0,t){this.mediaObj=window.matchMedia(t);const e=()=>{this.matchMedia=this.mediaObj.matches,Bt(this.$el,Ot("mediachange",!1,!0,[this.mediaObj]))};this.offMediaObj=Pt(this.mediaObj,"change",(()=>{e(),this.$emit("resize")})),e()}},disconnected(){this.offMediaObj?.()}};var ro={mixins:[Mn,oo],props:{fill:String},data:{fill:"",clsWrapper:"qx-leader-fill",clsHide:"qx-leader-hide",attrFill:"data-fill"},computed:{fill({fill:t}){return t||Vt(this.$el,"--qx-leader-fill-content")}},connected(){[this.wrapper]=me(this.$el,``)},disconnected(){ve(this.wrapper.childNodes)},observe:Qn(),update:{read(){return{width:Math.trunc(this.$el.offsetWidth/2),fill:this.fill,hide:!this.matchMedia}},write({width:t,fill:e,hide:i}){Kt(this.wrapper,this.clsHide,i),K(this.wrapper,this.attrFill,new Array(t).join(e))},events:["resize"]}};const ao=[];var lo={mixins:[Mn,ds,Bn],props:{selPanel:String,selClose:String,escClose:Boolean,bgClose:Boolean,stack:Boolean,role:String},data:{cls:"qx-open",escClose:!0,bgClose:!0,overlay:!0,stack:!1,role:"dialog"},computed:{panel:({selPanel:t},e)=>Ae(t,e),transitionElement(){return this.panel},bgClose({bgClose:t}){return t&&this.panel}},connected(){K(this.panel||this.$el,"role",this.role),this.overlay&&K(this.panel||this.$el,"aria-modal",!0)},beforeDisconnect(){h(ao,this)&&this.toggleElement(this.$el,!1,!1)},events:[{name:"click",delegate(){return`${this.selClose},a[href*="#"]`},handler(t){const{current:e,defaultPrevented:i}=t,{hash:n}=e;!i&&n&&vt(e)&&!ft(n,this.$el)&&Ae(n,document.body)?this.hide():dt(e,this.selClose)&&(t.preventDefault(),this.hide())}},{name:"toggle",self:!0,handler(t){t.defaultPrevented||(t.preventDefault(),this.isToggled()===h(ao,this)&&this.toggle())}},{name:"beforeshow",self:!0,handler(t){if(h(ao,this))return!1;!this.stack&&ao.length?(Promise.all(ao.map((t=>t.hide()))).then(this.show),t.preventDefault()):ao.push(this)}},{name:"show",self:!0,handler(){this.stack&&Vt(this.$el,"zIndex",_(Vt(this.$el,"zIndex"))+ao.length);const t=[this.overlay&&ho(this),this.overlay&&ps(this.$el),this.bgClose&&uo(this),this.escClose&&fo(this)];Mt(this.$el,"hidden",(()=>t.forEach((t=>t&&t()))),{self:!0}),Xt(document.documentElement,this.clsPage)}},{name:"shown",self:!0,handler(){lt(this.$el)||K(this.$el,"tabindex","-1"),dt(this.$el,":focus-within")||this.$el.focus()}},{name:"hidden",self:!0,handler(){h(ao,this)&&ao.splice(ao.indexOf(this),1),Vt(this.$el,"zIndex",""),ao.some((t=>t.clsPage===this.clsPage))||Yt(document.documentElement,this.clsPage)}}],methods:{toggle(){return this.isToggled()?this.hide():this.show()},show(){return this.container&&ct(this.$el)!==this.container?(he(this.container,this.$el),new Promise((t=>requestAnimationFrame((()=>this.show().then(t)))))):this.toggleElement(this.$el,!0,co)},hide(){return this.toggleElement(this.$el,!1,co)}}};function co(t,e,{transitionElement:i,_toggle:n}){return new Promise(((s,o)=>Mt(t,"show hide",(()=>{t._reject?.(),t._reject=o,n(t,e);const r=Mt(i,"transitionstart",(()=>{Mt(i,"transitionend transitioncancel",s,{self:!0}),clearTimeout(a)}),{self:!0}),a=setTimeout((()=>{r(),s()}),(l=Vt(i,"transitionDuration"))?c(l,"ms")?_(l):1e3*_(l):0);var l})))).then((()=>delete t._reject))}function ho(t){return Pt(document,"focusin",(e=>{O(ao)!==t||ft(e.target,t.$el)||t.$el.focus()}))}function uo(t){return Pt(document,Xe,(({target:e})=>{O(ao)!==t||t.overlay&&!ft(e,t.$el)||ft(e,t.panel)||Mt(document,`${Qe} ${Ke} scroll`,(({defaultPrevented:i,type:n,target:s})=>{i||n!==Qe||e!==s||t.hide()}),!0)}))}function fo(t){return Pt(document,"keydown",(e=>{27===e.keyCode&&O(ao)===t&&t.hide()}))}var po={install:function({modal:t}){function e(e,i,n=R,s=R){i={bgClose:!1,escClose:!0,...i,i18n:{...t.i18n,...i?.i18n}};const o=t.dialog(e(i),i);return p(new Promise((t=>{const e=Pt(o.$el,"hide",(()=>t(n())));Pt(o.$el,"submit","form",(i=>{i.preventDefault(),t(s(o)),e(),o.hide()}))})),{dialog:o})}t.dialog=function(e,i){const n=t(`
${e}
`,{stack:!0,role:"alertdialog",...i});return n.show(),Pt(n.$el,"hidden",(async()=>{await Promise.resolve(),n.$destroy(!0)}),{self:!0}),n},t.alert=function(t,i){return e((({i18n:e})=>`
${q(t)?t:le(t)}
`),i)},t.confirm=function(t,i){return e((({i18n:e})=>`
${q(t)?t:le(t)}
`),i,(()=>Promise.reject()))},t.prompt=function(t,i,n){const s=e((({i18n:e})=>`
`),n,(()=>null),(()=>r.value)),{$el:o}=s.dialog,r=Ae("input",o);return Pt(o,"show",(()=>r.select())),s},t.i18n={ok:"Ok",cancel:"Cancel"}},mixins:[lo],data:{clsPage:"qx-modal-page",selPanel:".qx-modal-dialog",selClose:".qx-modal-close, .qx-modal-close-default, .qx-modal-close-outside, .qx-modal-close-full"},events:[{name:"show",self:!0,handler(){Gt(this.panel,"qx-margin-auto-vertical")?Xt(this.$el,"qx-flex"):Vt(this.$el,"display","block"),_e(this.$el)}},{name:"hidden",self:!0,handler(){Vt(this.$el,"display",""),Yt(this.$el,"qx-flex")}}]};var go={extends:ns,data:{targets:"> .qx-parent",toggle:"> a",content:"> ul"}},mo={extends:ws,data:{clsDrop:"qx-navbar-dropdown",selNavItem:".qx-navbar-nav > li > a,a.qx-navbar-item,button.qx-navbar-item,.qx-navbar-item a,.qx-navbar-item button,.qx-navbar-toggle"},watch:{items(){const t=Gt(this.$el,"qx-navbar-justify");for(const e of qe(".qx-navbar-nav, .qx-navbar-left, .qx-navbar-right",this.$el))Vt(e,"flexGrow",t?qe(".qx-navbar-nav > li > a, .qx-navbar-item, .qx-navbar-toggle",e).length:"")}}},vo={mixins:[lo],args:"mode",props:{mode:String,flip:Boolean,overlay:Boolean,swiping:Boolean},data:{mode:"slide",flip:!1,overlay:!1,clsPage:"qx-offcanvas-page",clsContainer:"qx-offcanvas-container",selPanel:".qx-offcanvas-bar",clsFlip:"qx-offcanvas-flip",clsContainerAnimation:"qx-offcanvas-container-animation",clsSidebarAnimation:"qx-offcanvas-bar-animation",clsMode:"qx-offcanvas",clsOverlay:"qx-offcanvas-overlay",selClose:".qx-offcanvas-close",container:!1,swiping:!0},computed:{clsFlip:({flip:t,clsFlip:e})=>t?e:"",clsOverlay:({overlay:t,clsOverlay:e})=>t?e:"",clsMode:({mode:t,clsMode:e})=>`${e}-${t}`,clsSidebarAnimation:({mode:t,clsSidebarAnimation:e})=>"none"===t||"reveal"===t?"":e,clsContainerAnimation:({mode:t,clsContainerAnimation:e})=>"push"!==t&&"reveal"!==t?"":e,transitionElement({mode:t}){return"reveal"===t?ct(this.panel):this.panel}},observe:es({filter:({swiping:t})=>t}),update:{read(){this.isToggled()&&!st(this.$el)&&this.hide()},events:["resize"]},events:[{name:"touchmove",self:!0,passive:!1,filter(){return this.overlay},handler(t){t.cancelable&&t.preventDefault()}},{name:"show",self:!0,handler(){"reveal"!==this.mode||Gt(ct(this.panel),this.clsMode)||(ge(this.panel,"
"),Xt(ct(this.panel),this.clsMode));const{body:t,scrollingElement:e}=document;Xt(t,this.clsContainer,this.clsFlip),Vt(t,"touch-action","pan-y pinch-zoom"),Vt(this.$el,"display","block"),Vt(this.panel,"maxWidth",e.clientWidth),Xt(this.$el,this.clsOverlay),Xt(this.panel,this.clsSidebarAnimation,"reveal"===this.mode?"":this.clsMode),_e(t),Xt(t,this.clsContainerAnimation),this.clsContainerAnimation&&(bo().content+=",user-scalable=0")}},{name:"hide",self:!0,handler(){Yt(document.body,this.clsContainerAnimation),Vt(document.body,"touch-action","")}},{name:"hidden",self:!0,handler(){this.clsContainerAnimation&&function(){const t=bo();t.content=t.content.replace(/,user-scalable=0$/,"")}(),"reveal"===this.mode&&ve(this.panel),Yt(this.panel,this.clsSidebarAnimation,this.clsMode),Yt(this.$el,this.clsOverlay),Vt(this.$el,"display",""),Vt(this.panel,"maxWidth",""),Yt(document.body,this.clsContainer,this.clsFlip)}},{name:"swipeLeft swipeRight",handler(t){this.isToggled()&&c(t.type,"Left")^this.flip&&this.hide()}}]};function bo(){return Ae('meta[name="viewport"]',document.head)||he(document.head,'')}var xo={mixins:[Mn],props:{selContainer:String,selContent:String,minHeight:Number},data:{selContainer:".qx-modal",selContent:".qx-modal-dialog",minHeight:150},computed:{container:({selContainer:t},e)=>ut(e,t),content:({selContent:t},e)=>ut(e,t)},observe:Qn({target:({container:t,content:e})=>[t,e]}),update:{read(){return!!(this.content&&this.container&&st(this.$el))&&{max:Math.max(this.minHeight,_e(this.container)-(ze(this.content).height-_e(this.$el)))}},write({max:t}){Vt(this.$el,{minHeight:this.minHeight,maxHeight:t})},events:["resize"]}},wo={props:["width","height"],connected(){Xt(this.$el,"qx-responsive-width")},observe:Qn({target:({$el:t})=>[t,ct(t)]}),update:{read(){return!!(st(this.$el)&&this.width&&this.height)&&{width:Te(ct(this.$el)),height:this.height}},write(t){_e(this.$el,Q.contain({height:this.height,width:this.width},t).height)},events:["resize"]}},yo={props:{offset:Number},data:{offset:0},connected(){var t;t=this,$o.size||Pt(document,"click",Ao),$o.add(t)},disconnected(){var t;t=this,$o.delete(t),$o.size||Nt(document,"click",Ao)},methods:{async scrollTo(t){t=t&&Ae(t)||document.body,Bt(this.$el,"beforescroll",[this,t])&&(await Ai(t,{offset:this.offset}),Bt(this.$el,"scrolled",[this,t]))}}};const $o=new Set;function Ao(t){if(!t.defaultPrevented)for(const e of $o)ft(t.target,e.$el)&&vt(e.$el)&&(t.preventDefault(),window.location.href!==e.$el.href&&window.history.pushState({},"",e.$el.href),e.scrollTo(bt(e.$el)))}var qo={args:"cls",props:{cls:String,target:String,hidden:Boolean,margin:String,repeat:Boolean,delay:Number},data:()=>({cls:"",target:!1,hidden:!0,margin:"-1px",repeat:!1,delay:0,inViewClass:"qx-scrollspy-inview"}),computed:{elements:({target:t},e)=>t?qe(t,e):[e]},watch:{elements(t){this.hidden&&Vt(ht(t,`:not(.${this.inViewClass})`),"opacity",0)}},connected(){this.elementData=new Map},disconnected(){for(const[t,e]of this.elementData.entries())Yt(t,this.inViewClass,e?.cls||"");delete this.elementData},observe:Jn({target:({elements:t})=>t,handler(t){const e=this.elementData;for(const{target:i,isIntersecting:n}of t){e.has(i)||e.set(i,{cls:et(i,"qx-scrollspy-class")||this.cls});const t=e.get(i);!this.repeat&&t.show||(t.show=n)}this.$emit()},options:t=>({rootMargin:t.margin}),args:{intersecting:!1}}),update:[{write(t){for(const[e,i]of this.elementData.entries())!i.show||i.inview||i.queued?!i.show&&i.inview&&!i.queued&&this.repeat&&this.toggle(e,!1):(i.queued=!0,t.promise=(t.promise||Promise.resolve()).then((()=>new Promise((t=>setTimeout(t,this.delay))))).then((()=>{this.toggle(e,!0),setTimeout((()=>{i.queued=!1,this.$emit()}),300)})))}}],methods:{toggle(t,e){const i=this.elementData.get(t);if(i){if(i.off?.(),Vt(t,"opacity",!e&&this.hidden?0:""),Kt(t,this.inViewClass,e),Kt(t,i.cls),/\bqx-animation-/.test(i.cls)){const n=()=>Qt(t,"qx-animation-[\\w-]+");e?i.off=Mt(t,"animationcancel animationend",n):n()}Bt(t,e?"inview":"outview"),i.inview=e,this.$update(t)}}}},Co={props:{cls:String,closest:String,scroll:Boolean,overflow:Boolean,offset:Number},data:{cls:"qx-active",closest:!1,scroll:!1,overflow:!0,offset:0},computed:{links:(t,e)=>qe('a[href*="#"]',e).filter((t=>t.hash&&vt(t))),elements({closest:t}){return ut(this.links,t||"*")}},watch:{links(t){this.scroll&&this.$create("scroll",t,{offset:this.offset||0})}},observe:[Jn(),ts()],update:[{read(){const t=this.links.map(bt).filter(Boolean),{length:e}=t;if(!e||!st(this.$el))return!1;const i=Si(t,!0),{scrollTop:n,scrollHeight:s}=i,o=Ei(i);let r=!1;if(n===s-o.height)r=e-1;else{for(let e=0;e0);e++)r=+e;!1===r&&this.overflow&&(r=0)}return{active:r}},write({active:t}){const e=!1!==t&&!Gt(this.elements[t],this.cls);this.links.forEach((t=>t.blur()));for(let e=0;et&&Ae(t,e)||e},connected(){this.start=Eo(this.start||this.top),this.end=Eo(this.end||this.bottom),this.placeholder=Ae("+ .qx-sticky-placeholder",this.$el)||Ae('
'),this.isFixed=!1,this.setActive(!1)},disconnected(){this.isFixed&&(this.hide(),Yt(this.selTarget,this.clsInactive)),ko(this.$el),pe(this.placeholder),this.placeholder=null},observe:[Qn({target:({$el:t})=>[t,document.scrollingElement]}),Zn(),ts()],events:[{name:"load hashchange popstate",el:()=>window,filter(){return!1!==this.targetOffset},handler(){const{scrollingElement:t}=document;location.hash&&0!==t.scrollTop&&setTimeout((()=>{const e=Ee(Ae(location.hash)),i=Ee(this.$el);this.isFixed&&V(e,i)&&(t.scrollTop=e.top-i.height-Be(this.targetOffset,"height",this.placeholder)-Be(this.offset,"height",this.placeholder))}))}},{name:"transitionstart",capture:!0,handler(){this.transitionInProgress=Mt(this.$el,"transitionend transitioncancel",(()=>this.transitionInProgress=null))}}],update:[{read({height:t,width:e,margin:i,sticky:n}){if(this.inactive=!this.matchMedia||!st(this.$el),this.inactive)return;const s=this.isFixed&&!this.transitionInProgress;s&&(Io(this.selTarget),this.hide()),this.active||(({height:t,width:e}=Ee(this.$el)),i=Vt(this.$el,"margin")),s&&this.show();const o=Be("100vh","height"),r=_e(window),a=document.scrollingElement.scrollHeight-o;let l=this.position;this.overflowFlip&&t>o&&(l="top"===l?"bottom":"top");const c=this.isFixed?this.placeholder:this.$el;let h=Be(this.offset,"height",n?this.$el:c);"bottom"===l&&(t300||s!==o)&&(t.initScroll=r,t.initTimestamp=u),!(this.showOnUp&&!this.isFixed&&Math.abs(t.initScroll-r)<=30&&Math.abs(a-r)<=10))if(this.inactive||rr&&(oe.cancel(this.$el),this.hide()));this.animation&&r>h?(oe.cancel(this.$el),oe.out(this.$el,this.animation).then((()=>this.hide()),R)):this.hide()}else this.isFixed?this.update():this.animation&&r>h?(oe.cancel(this.$el),this.show(),oe.in(this.$el,this.animation).catch(R)):(Io(this.selTarget),this.show())},events:["resize","resizeViewport","scroll"]}],methods:{show(){this.isFixed=!0,this.update(),this.placeholder.hidden=!1},hide(){const{offset:t,sticky:e}=this._data;this.setActive(!1),Yt(this.$el,this.clsFixed,this.clsBelow),e?Vt(this.$el,"top",t):Vt(this.$el,{position:"",top:"",width:"",marginTop:""}),this.placeholder.hidden=!0,this.isFixed=!1},update(){let{width:t,scroll:e=0,overflow:i,overflowScroll:n=0,start:s,end:o,offset:r,topOffset:a,height:l,elHeight:c,offsetParentTop:h,sticky:d}=this._data;const u=0!==s||e>s;if(!d){let i="fixed";e>o&&(r+=o-h,i="absolute"),Vt(this.$el,{position:i,width:t,marginTop:0},"important")}i&&(r-=n),Vt(this.$el,"top",r),this.setActive(u),Kt(this.$el,this.clsBelow,e>a+(d?Math.min(l,c):l)),Xt(this.$el,this.clsFixed)},setActive(t){const e=this.active;this.active=t,t?(Jt(this.selTarget,this.clsInactive,this.clsActive),e!==t&&Bt(this.$el,"active")):(Jt(this.selTarget,this.clsActive,this.clsInactive),e!==t&&Bt(this.$el,"inactive"))}}};function zo(t,e,i,n){if(!t)return 0;if(S(t)||q(t)&&t.match(/^-?\d/))return i+Be(t,"height",e,!0);{const i=!0===t?ct(e):xt(t,e);return Ee(i).bottom-(n&&i&&ft(e,i)?_(Vt(i,"paddingBottom")):0)}}function Eo(t){return"true"===t||"false"!==t&&t}function ko(t){Vt(t,{position:"",top:"",marginTop:"",width:""})}function Io(t){Vt(t,"transition","0s"),requestAnimationFrame((()=>Vt(t,"transition","")))}function _o(t){return Math.ceil(Math.max(0,...qe("[stroke]",t).map((t=>{try{return t.getTotalLength()}catch(t){return 0}}))))}var To={mixins:[Ns],args:"src",props:{src:String,icon:String,attributes:"list",strokeAnimation:Boolean},data:{strokeAnimation:!1},observe:[Gn({async handler(){const t=await this.svg;t&&Po.call(this,t)},options:{attributes:!0,attributeFilter:["id","class","style"]}})],async connected(){h(this.src,"#")&&([this.src,this.icon]=this.src.split("#"));const t=await this.svg;t&&(Po.call(this,t),this.strokeAnimation&&function(t){const e=_o(t);e&&Vt(t,"--qx-animation-stroke",e)}(t))},methods:{async getSvg(){return re(this.$el,"img")&&!this.$el.complete&&"lazy"===this.$el.loading?new Promise((t=>Mt(this.$el,"load",(()=>t(this.getSvg()))))):function(t,e){return e&&h(t,"t?l(t,"data:")?decodeURIComponent(t.split(",")[1]):(await fetch(t)).text():Promise.reject()));const Mo=//g,Bo=G((function(t){const e={};let i;for(Mo.lastIndex=0;i=Mo.exec(t);)e[i[3]]=``;return e}));const Oo=".qx-disabled *, .qx-disabled, [disabled]";var Do={mixins:[Bn],args:"connect",props:{connect:String,toggle:String,itemNav:String,active:Number,followFocus:Boolean,swiping:Boolean},data:{connect:"~.qx-switcher",toggle:"> * > :first-child",itemNav:!1,active:0,cls:"qx-active",attrItem:"qx-switcher-item",selVertical:".qx-nav",followFocus:!1,swiping:!0},computed:{connects:({connect:t},e)=>wt(t,e),connectChildren(){return this.connects.map((t=>gt(t))).flat()},toggles:({toggle:t},e)=>qe(t,e),children(){return gt(this.$el).filter((t=>this.toggles.some((e=>ft(e,t)))))}},watch:{connects(t){this.swiping&&Vt(t,"touchAction","pan-y pinch-zoom"),this.$emit()},connectChildren(){let t=Math.max(0,this.index());for(const e of this.connects)gt(e).forEach(((e,i)=>Kt(e,this.cls,i===t)));this.$emit()},toggles(t){this.$emit();const e=this.index();this.show(~e?e:t[this.active]||t[0])}},connected(){K(this.$el,"role","tablist")},observe:[Kn({targets:({connectChildren:t})=>t}),es({target:({connects:t})=>t,filter:({swiping:t})=>t})],events:[{name:"click keydown",delegate(){return this.toggle},handler(t){dt(t.current,Oo)||"click"!==t.type&&t.keyCode!==Hn||(t.preventDefault(),this.show(t.current))}},{name:"keydown",delegate(){return this.toggle},handler(t){const{current:e,keyCode:i}=t,n=dt(this.$el,this.selVertical);let s=i===Rn?0:i===Wn?"last":i===Vn&&!n||i===Un&&n?"previous":i===Xn&&!n||i===Yn&&n?"next":-1;if(~s){t.preventDefault();const i=this.toggles.filter((t=>!dt(t,Oo))),n=i[J(s,i,i.indexOf(e))];n.focus(),this.followFocus&&this.show(n)}}},{name:"click",el(){return this.connects.concat(this.itemNav?wt(this.itemNav,this.$el):[])},delegate(){return`[${this.attrItem}],[data-${this.attrItem}]`},handler(t){ut(t.target,"a,button")&&(t.preventDefault(),this.show(et(t.current,this.attrItem)))}},{name:"swipeRight swipeLeft",filter(){return this.swiping},el(){return this.connects},handler({type:t}){this.show(c(t,"Left")?"next":"previous")}}],update(){K(this.connects,"role","presentation"),K(gt(this.$el),"role","presentation");for(const t in this.toggles){const e=this.toggles[t],i=this.connects[0]?.children[t];K(e,"role","tab"),i&&(e.id=En(this,e,`-tab-${t}`),i.id=En(this,i,`-tabpanel-${t}`),K(e,"aria-controls",i.id),K(i,{role:"tabpanel","aria-labelledby":e.id}))}K(this.$el,"aria-orientation",dt(this.$el,this.selVertical)?"vertical":null)},methods:{index(){return d(this.children,(t=>Gt(t,this.cls)))},show(t){const e=this.toggles.filter((t=>!dt(t,Oo))),i=this.index(),n=J(!w(t)||h(e,t)?t:0,e,J(this.toggles[i],e)),s=J(e[n],this.toggles);this.children.forEach(((t,e)=>{Kt(t,this.cls,s===e),K(this.toggles[e],{"aria-selected":s===e,tabindex:s===e?null:-1})}));const o=i>=0&&i!==n;this.connects.forEach((async({children:t})=>{const e=f(t).filter(((t,e)=>e!==s&&Gt(t,this.cls)));await this.toggleElement(e,!1,o),await this.toggleElement(t[s],!0,o)}))}}},Lo={mixins:[Mn],extends:Do,props:{media:Boolean},data:{media:960,attrItem:"qx-tab-item",selVertical:".qx-tab-left,.qx-tab-right"},connected(){const t=Gt(this.$el,"qx-tab-left")?"qx-tab-left":!!Gt(this.$el,"qx-tab-right")&&"qx-tab-right";t&&this.$create("toggle",this.$el,{cls:t,mode:"media",media:this.media})}};var Fo={mixins:[oo,Bn],args:"target",props:{href:String,target:null,mode:"list",queued:Boolean},data:{href:!1,target:!1,mode:"click",queued:!0},computed:{target:({target:t},e)=>(t=wt(t||e.hash,e)).length&&t||[e]},connected(){h(this.mode,"media")||(lt(this.$el)||K(this.$el,"tabindex","0"),!this.cls&&re(this.$el,"a")&&K(this.$el,"role","button"))},observe:Kn({target:({target:t})=>t}),events:[{name:Xe,filter(){return h(this.mode,"hover")},handler(t){this._preventClick=null,!Ht(t)||this._showState||this.$el.disabled||(Bt(this.$el,"focus"),Mt(document,Xe,(()=>Bt(this.$el,"blur")),!0,(t=>!ft(t.target,this.$el))),h(this.mode,"click")&&(this._preventClick=!0))}},{name:`${Je} ${Ge} focus blur`,filter(){return h(this.mode,"hover")},handler(t){if(Ht(t)||this.$el.disabled)return;const e=h([Je,"focus"],t.type),i=this.isToggled(this.target);!e&&(t.type===Ge&&dt(this.$el,":focus")||"blur"===t.type&&dt(this.$el,":hover"))||(this._showState&&e&&i!==this._showState?e||(this._showState=null):(this._showState=e?i:null,this.toggle("toggle"+(e?"show":"hide"))))}},{name:"keydown",filter(){return h(this.mode,"click")&&!re(this.$el,"input")},handler(t){32===t.keyCode&&(t.preventDefault(),this.$el.click())}},{name:"click",filter(){return["click","hover"].some((t=>h(this.mode,t)))},handler(t){let e;(this._preventClick||ut(t.target,'a[href="#"], a[href=""]')||(e=ut(t.target,"a[href]"))&&(!this.isToggled(this.target)||e.hash&&dt(this.target,e.hash)))&&t.preventDefault(),!this._preventClick&&h(this.mode,"click")&&this.toggle()}},{name:"mediachange",filter(){return h(this.mode,"media")},el(){return this.target},handler(t,e){e.matches^this.isToggled(this.target)&&this.toggle()}}],methods:{async toggle(t){if(!Bt(this.target,t||"toggle",[this]))return;if(Z(this.$el,"aria-expanded")&&K(this.$el,"aria-expanded",!this.isToggled(this.target)),!this.queued)return this.toggleElement(this.target);const e=this.target.filter((t=>Gt(t,this.clsLeave)));if(e.length){for(const t of this.target){const i=h(e,t);this.toggleElement(t,i,i)}return}const i=this.target.filter(this.isToggled);await this.toggleElement(i,!1)&&await this.toggleElement(this.target.filter((t=>!h(i,t))),!0)}}};D(Object.freeze({__proto__:null,Accordion:ns,Alert:os,Close:Xs,Cover:ls,Drop:gs,DropParentIcon:Fs,Dropdown:gs,Dropnav:ws,FormCustom:$s,Grid:Es,HeightMatch:Is,HeightViewport:Ps,Icon:Ls,Img:to,Leader:ro,Margin:As,Marker:Ys,Modal:po,Nav:go,NavParentIcon:js,Navbar:mo,NavbarParentIcon:Fs,NavbarToggleIcon:Us,Offcanvas:vo,OverflowAuto:xo,OverlayIcon:Fs,PaginationNext:Js,PaginationPrevious:Gs,Responsive:wo,Scroll:yo,Scrollspy:qo,ScrollspyNav:Co,SearchIcon:Hs,SlidenavNext:Vs,SlidenavPrevious:Vs,Spinner:Ws,Sticky:So,Svg:To,Switcher:Do,Tab:Lo,Toggle:Fo,Totop:Qs,Video:as}),((t,e)=>xn.component(e,t))),function(t){We&&window.MutationObserver&&(document.body?requestAnimationFrame((()=>kn(t))):new MutationObserver(((e,i)=>{document.body&&(kn(t),i.disconnect())})).observe(document.documentElement,{childList:!0}))}(xn);const jo=["days","hours","minutes","seconds"];var Ho={mixins:[Mn],props:{date:String,clsWrapper:String,role:String},data:{date:"",clsWrapper:".qx-countdown-%unit%",role:"timer"},connected(){K(this.$el,"role",this.role),this.date=_(Date.parse(this.$props.date)),this.end=!1,this.start()},disconnected(){this.stop()},events:{name:"visibilitychange",el:()=>document,handler(){document.hidden?this.stop():this.start()}},methods:{start(){this.stop(),this.update(),this.timer||(Bt(this.$el,"countdownstart"),this.timer=setInterval(this.update,1e3))},stop(){this.timer&&(clearInterval(this.timer),Bt(this.$el,"countdownstop"),this.timer=null)},update(){const t=function(t){const e=Math.max(0,t-Date.now())/1e3;return{total:e,seconds:e%60,minutes:e/60%60,hours:e/60/60%24,days:e/60/60/24}}(this.date);t.total||(this.stop(),this.end||(Bt(this.$el,"countdownend"),this.end=!0));for(const e of jo){const i=Ae(this.clsWrapper.replace("%unit%",e),this.$el);if(!i)continue;let n=String(Math.trunc(t[e]));n=n.length<2?`0${n}`:n,i.textContent!==n&&(n=n.split(""),n.length!==i.children.length&&le(i,n.map((()=>"")).join("")),n.forEach(((t,e)=>i.children[e].textContent=t)))}}}};const Wo="qx-transition-leave",Ro="qx-transition-enter";function Vo(t,e,i,n=0){const s=Uo(e,!0),o={opacity:1},r={opacity:0},a=t=>()=>s===Uo(e)?t():Promise.reject(),l=a((async()=>{Xt(e,Wo),await Promise.all(Yo(e).map(((t,e)=>new Promise((s=>setTimeout((()=>ee.start(t,r,i/2,"ease").then(s)),e*n)))))),Yt(e,Wo)})),c=a((async()=>{const a=_e(e);Xt(e,Ro),t(),Vt(gt(e),{opacity:0}),await new Promise((t=>requestAnimationFrame(t)));const l=gt(e),c=_e(e);Vt(e,"alignContent","flex-start"),_e(e,a);const h=Yo(e);Vt(l,r);const d=h.map((async(t,e)=>{var s;await(s=e*n,new Promise((t=>setTimeout(t,s)))),await ee.start(t,o,i/2,"ease")}));a!==c&&d.push(ee.start(e,{height:c},i/2+h.length*n,"ease")),await Promise.all(d).then((()=>{Yt(e,Ro),s===Uo(e)&&(Vt(e,{height:"",alignContent:""}),Vt(l,{opacity:""}),delete e.dataset.transition)}))}));return Gt(e,Wo)?Xo(e).then(c):Gt(e,Ro)?Xo(e).then(l).then(c):l().then(c)}function Uo(t,e){return e&&(t.dataset.transition=1+Uo(t)),I(t.dataset.transition)||0}function Xo(t){return Promise.all(gt(t).filter(ee.inProgress).map((t=>new Promise((e=>Mt(t,"transitionend transitioncanceled",e))))))}function Yo(t){return qs(gt(t)).reduce(((t,e)=>t.concat(L(e.filter((t=>$i(t))),"offsetLeft"))),[])}async function Qo(t,e,i){await Ko();let n=gt(e);const s=n.map((t=>Jo(t,!0))),o={...Vt(e,["height","padding"]),display:"block"};await Promise.all(n.concat(e).map(ee.cancel)),t(),n=n.concat(gt(e).filter((t=>!h(n,t)))),await Promise.resolve(),Ze.flush();const r=K(e,"style"),a=Vt(e,["height","padding"]),[l,c]=function(t,e,i){const n=e.map(((t,e)=>!(!ct(t)||!(e in i))&&(i[e]?st(t)?Go(t):{opacity:0}:{opacity:st(t)?1:0}))),s=n.map(((n,s)=>{const o=ct(e[s])===t&&(i[s]||Jo(e[s]));if(!o)return!1;if(n){if(!("opacity"in n)){const{opacity:t}=o;t%1?n.opacity=1:delete o.opacity}}else delete o.opacity;return o}));return[n,s]}(e,n,s),d=n.map((t=>({style:K(t,"style")})));n.forEach(((t,e)=>c[e]&&Vt(t,c[e]))),Vt(e,o),Bt(e,"scroll"),Ze.flush(),await Ko();const u=n.map(((t,n)=>ct(t)===e&&ee.start(t,l[n],i,"ease"))).concat(ee.start(e,a,i,"ease"));try{await Promise.all(u),n.forEach(((t,i)=>{K(t,d[i]),ct(t)===e&&Vt(t,"display",0===l[i].opacity?"none":"")})),K(e,"style",r)}catch(t){K(n,"style",""),function(t,e){for(const i in e)Vt(t,i,"")}(e,o)}}function Jo(t,e){const i=Vt(t,"zIndex");return!!st(t)&&{display:"",opacity:e?Vt(t,"opacity"):"0",pointerEvents:"none",position:"absolute",zIndex:"auto"===i?mt(t):i,...Go(t)}}function Go(t){const{height:e,width:i}=Ee(t);return{height:e,width:i,transform:"",...ke(t),...Vt(t,["marginTop","marginLeft"])}}function Ko(){return new Promise((t=>requestAnimationFrame(t)))}var Zo={props:{duration:Number,animation:Boolean},data:{duration:150,animation:"slide"},methods:{animate(t,e=this.$el){const i=this.animation;return("fade"===i?Vo:"delayed-fade"===i?(...t)=>Vo(...t,40):i?Qo:()=>(t(),Promise.resolve()))(t,e,this.duration).catch(R)}}},tr={mixins:[Zo],args:"target",props:{target:String,selActive:Boolean},data:{target:"",selActive:!1,attrItem:"qx-filter-control",cls:"qx-active",duration:250},computed:{toggles:({attrItem:t},e)=>qe(`[${t}],[data-${t}]`,e),children:({target:t},e)=>qe(`${t} > *`,e)},watch:{toggles(t){this.updateState();const e=qe(this.selActive,this.$el);for(const n of t){!1!==this.selActive&&Kt(n,this.cls,h(e,n));const t=Ae("a,button",i=n)||i;re(t,"a")&&K(t,"role","button")}var i},children(t,e){e&&this.updateState()}},events:{name:"click keydown",delegate(){return`[${this.attrItem}],[data-${this.attrItem}]`},handler(t){"keydown"===t.type&&t.keyCode!==Hn||ut(t.target,"a,button")&&(t.preventDefault(),this.apply(t.current))}},methods:{apply(t){const e=this.getState(),i=ir(t,this.attrItem,this.getState());var n,s;n=e,s=i,["filter","sort"].every((t=>M(n[t],s[t])))||this.setState(i)},getState(){return this.toggles.filter((t=>Gt(t,this.cls))).reduce(((t,e)=>ir(e,this.attrItem,t)),{filter:{"":""},sort:[]})},async setState(t,e=!0){t={filter:{"":""},sort:[],...t},Bt(this.$el,"beforeFilter",[this,t]);for(const e of this.toggles)Kt(e,this.cls,nr(e,this.attrItem,t));await Promise.all(qe(this.target,this.$el).map((i=>{const n=()=>{(function(t,e,i){const n=function({filter:t}){let e="";return D(t,(t=>e+=t||"")),e}(t);i.forEach((t=>Vt(t,"display",n&&!dt(t,n)?"none":"")));const[s,o]=t.sort;if(s){const t=function(t,e,i){return[...t].sort(((t,n)=>et(t,e).localeCompare(et(n,e),void 0,{numeric:!0})*("asc"===i||-1)))}(i,s,o);M(t,i)||he(e,t)}})(t,i,gt(i)),this.$update(this.$el)};return e?this.animate(n,i):n()}))),Bt(this.$el,"afterFilter",[this])},updateState(){Ze.write((()=>this.setState(this.getState(),!1)))}}};function er(t,e){return hn(et(t,e),["filter"])}function ir(t,e,i){const{filter:n,group:s,sort:o,order:r="asc"}=er(t,e);return(n||E(o))&&(s?n?(delete i.filter[""],i.filter[s]=n):(delete i.filter[s],(z(i.filter)||""in i.filter)&&(i.filter={"":n||""})):i.filter={"":n||""}),E(o)||(i.sort=[o,r]),i}function nr(t,e,{filter:i={"":""},sort:[n,s]}){const{filter:o="",group:r="",sort:a,order:l="asc"}=er(t,e);return E(a)?r in i&&o===i[r]||!o&&r&&!(r in i)&&!i[""]:n===a&&s===l}var sr={slide:{show:t=>[{transform:rr(-100*t)},{transform:rr()}],percent:t=>or(t),translate:(t,e)=>[{transform:rr(-100*e*t)},{transform:rr(100*e*(1-t))}]}};function or(t){return Math.abs(Vt(t,"transform").split(",")[4]/t.offsetWidth)||0}function rr(t=0,e="%"){return`translate3d(${t+=t?e:""}, 0, 0)`}function ar(t){return`scale3d(${t}, ${t}, 1)`}var lr={...sr,fade:{show:()=>[{opacity:0},{opacity:1}],percent:t=>1-Vt(t,"opacity"),translate:t=>[{opacity:1-t},{opacity:t}]},scale:{show:()=>[{opacity:0,transform:ar(.8)},{opacity:1,transform:ar(1)}],percent:t=>1-Vt(t,"opacity"),translate:t=>[{opacity:1-t,transform:ar(1-.2*t)},{opacity:t,transform:ar(.8+.2*t)}]}};function cr(t,e,i){Bt(t,Ot(e,!1,!1,i))}var hr={i18n:{next:"Next slide",previous:"Previous slide",slideX:"Slide %s",slideLabel:"%s of %s",role:"String"},data:{selNav:!1,role:"region"},computed:{nav:({selNav:t},e)=>Ae(t,e),navChildren(){return gt(this.nav)},selNavItem:({attrItem:t})=>`[${t}],[data-${t}]`,navItems(t,e){return qe(this.selNavItem,e)}},watch:{nav(t,e){K(t,"role","tablist"),e&&this.$emit()},list(t){K(t,"role","presentation")},navChildren(t){K(t,"role","presentation")},navItems(t){for(const e of t){const t=et(e,this.attrItem),i=Ae("a,button",e)||e;let n,s=null;if(S(t)){const e=I(t),o=this.slides[e];o&&(o.id||(o.id=En(this,o,`-item-${t}`)),s=o.id),n=this.t("slideX",_(t)+1),K(i,"role","tab")}else this.list&&(this.list.id||(this.list.id=En(this,this.list,"-items")),s=this.list.id),n=this.t(t);K(i,{"aria-controls":s,"aria-label":K(i,"aria-label")||n})}},slides(t){t.forEach(((t,e)=>K(t,{role:this.nav?"tabpanel":"group","aria-label":this.t("slideLabel",e+1,this.length),"aria-roledescription":this.nav?null:"slide"})))},length(t){const e=this.navChildren.length;if(this.nav&&t!==e){ae(this.nav);for(let e=0;e`)}}},connected(){K(this.$el,{role:this.role,ariaRoleDescription:"carousel"})},update:[{write(){this.navItems.concat(this.nav).forEach((t=>t&&(t.hidden=!this.maxIndex))),this.updateNav()},events:["resize"]}],events:[{name:"click keydown",delegate(){return this.selNavItem},handler(t){!ut(t.target,"a,button")||"click"!==t.type&&t.keyCode!==Hn||(t.preventDefault(),this.show(et(t.current,this.attrItem)))}},{name:"itemshow",handler:"updateNav"},{name:"keydown",delegate(){return this.selNavItem},handler(t){const{current:e,keyCode:i}=t;if(!S(et(e,this.attrItem)))return;let n=i===Rn?0:i===Wn?"last":i===Vn?"previous":i===Xn?"next":-1;~n&&(t.preventDefault(),this.show(n))}}],methods:{updateNav(){const t=this.getValidIndex();let e,i;for(const n of this.navItems){const s=et(n,this.attrItem),o=Ae("a,button",n)||n;if(S(s)){const r=I(s)===t;Kt(n,this.clsActive,r),K(o,{"aria-selected":r,tabindex:r?null:-1}),r&&(i=o),e||=dt(o,":focus")}else Kt(n,"qx-invisible",this.finite&&("previous"===s&&0===t||"next"===s&&t>=this.maxIndex));e&&i&&i.focus()}}}};const dr={passive:!1,capture:!0},ur={passive:!0,capture:!0},fr="touchmove mousemove",pr="touchend touchcancel mouseup click input scroll";var gr={props:{draggable:Boolean},data:{draggable:!0,threshold:10},created(){for(const t of["start","move","end"]){const e=this[t];this[t]=t=>{const i=Wt(t).x*(Re?-1:1);this.prevPos=i===this.pos?this.prevPos:this.pos,this.pos=i,e(t)}}},events:[{name:"touchstart mousedown",passive:!0,delegate(){return`${this.selList} > *`},handler(t){var e;!this.draggable||!Ht(t)&&("none"!==Vt(e=t.target,"userSelect")&&f(e.childNodes).some((t=>3===t.nodeType&&t.textContent.trim())))||ut(t.target,ot)||t.button>0||this.length<2||this.start(t)}},{name:"dragstart",handler(t){t.preventDefault()}},{name:fr,el(){return this.list},handler:R,...dr}],methods:{start(){this.drag=this.pos,this._transitioner?(this.percent=this._transitioner.percent(),this.drag+=this._transitioner.getDistance()*this.percent*this.dir,this._transitioner.cancel(),this._transitioner.translate(this.percent),this.dragging=!0,this.stack=[]):this.prevIndex=this.index,Pt(document,fr,this.move,dr),Pt(document,pr,this.end,ur),Vt(this.list,"userSelect","none")},move(t){const e=this.pos-this.drag;if(0===e||this.prevPos===this.pos||!this.dragging&&Math.abs(e)r;)this.drag-=r*this.dir,n=o,s-=r,o=this.getIndex(n+this.dir),r=this._getDistance(n,o);this.percent=s/r;const a=i[n],l=i[o],c=this.index!==o,d=n===o;let u;for(const t of[this.index,this.prevIndex])h([o,n],t)||(Bt(i[t],"itemhidden",[this]),d&&(u=!0,this.prevIndex=n));(this.index===n&&this.prevIndex!==n||u)&&Bt(i[this.index],"itemshown",[this]),c&&(this.prevIndex=n,this.index=o,!d&&Bt(a,"beforeitemhide",[this]),Bt(l,"beforeitemshow",[this])),this._transitioner=this._translate(Math.abs(this.percent),a,!d&&l),c&&(!d&&Bt(a,"itemhide",[this]),Bt(l,"itemshow",[this]))},end(){if(Nt(document,fr,this.move,dr),Nt(document,pr,this.end,ur),this.dragging)if(this.dragging=null,this.index===this.prevIndex)this.percent=1-this.percent,this.dir*=-1,this._show(!1,this.index,!0),this._transitioner=null;else{const t=(Re?this.dir*(Re?1:-1):this.dir)<0==this.prevPos>this.pos;this.index=t?this.index:this.prevIndex,t&&(this.percent=1-this.percent),this.show(this.dir>0&&!t||this.dir<0&&t?"next":"previous",!0)}Vt(this.list,{userSelect:"",pointerEvents:""}),this.drag=this.percent=null},_getDistance(t,e){return this._getTransitioner(t,t!==e&&e).getDistance()||this.slides[t].offsetWidth}}};var mr={mixins:[{props:{autoplay:Boolean,autoplayInterval:Number,pauseOnHover:Boolean},data:{autoplay:!1,autoplayInterval:7e3,pauseOnHover:!0},connected(){K(this.list,"aria-live",this.autoplay?"off":"polite"),this.autoplay&&this.startAutoplay()},disconnected(){this.stopAutoplay()},update(){K(this.slides,"tabindex","-1")},events:[{name:"visibilitychange",el:()=>document,filter(){return this.autoplay},handler(){document.hidden?this.stopAutoplay():this.startAutoplay()}}],methods:{startAutoplay(){this.stopAutoplay(),this.interval=setInterval((()=>{this.stack.length||this.draggable&&dt(this.$el,":focus-within")||this.pauseOnHover&&dt(this.$el,":hover")||this.show("next")}),this.autoplayInterval)},stopAutoplay(){clearInterval(this.interval)}}},gr,hr,Os],props:{clsActivated:Boolean,easing:String,index:Number,finite:Boolean,velocity:Number},data:()=>({easing:"ease",finite:!1,velocity:1,index:0,prevIndex:-1,stack:[],percent:0,clsActive:"qx-active",clsActivated:!1,Transitioner:!1,transitionOptions:{}}),connected(){this.prevIndex=-1,this.index=this.getValidIndex(this.$props.index),this.stack=[]},disconnected(){Yt(this.slides,this.clsActive)},computed:{duration:({velocity:t},e)=>vr(e.offsetWidth/t),list:({selList:t},e)=>Ae(t,e),maxIndex(){return this.length-1},slides(){return gt(this.list)},length(){return this.slides.length}},watch:{slides(t,e){e&&this.$emit()}},observe:Qn(),methods:{show(t,e=!1){if(this.dragging||!this.length)return;const{stack:i}=this,n=e?0:i.length,s=()=>{i.splice(n,1),i.length&&this.show(i.shift(),!0)};if(i[e?"unshift":"push"](t),!e&&i.length>1)return void(2===i.length&&this._transitioner?.forward(Math.min(this.duration,200)));const o=this.getIndex(this.index),r=Gt(this.slides,this.clsActive)&&this.slides[o],a=this.getIndex(t,this.index),l=this.slides[a];if(r===l)return void s();if(this.dir=function(t,e){return"next"===t?1:"previous"===t||t{r&&Bt(r,"itemhidden",[this]),Bt(l,"itemshown",[this]),i.shift(),this._transitioner=null,requestAnimationFrame((()=>i.length&&this.show(i.shift(),!0)))}));return r&&Bt(r,"itemhide",[this]),Bt(l,"itemshow",[this]),c},getIndex(t=this.index,e=this.index){return W(J(t,this.slides,e,this.finite),0,Math.max(0,this.maxIndex))},getValidIndex(t=this.index,e=this.prevIndex){return this.getIndex(t,e)},_show(t,e,i){if(this._transitioner=this._getTransitioner(t,e,this.dir,{easing:i?e.offsetWidth<600?"cubic-bezier(0.25, 0.46, 0.45, 0.94)":"cubic-bezier(0.165, 0.84, 0.44, 1)":this.easing,...this.transitionOptions}),!i&&!t)return this._translate(1),Promise.resolve();const{length:n}=this.stack;return this._transitioner[n>1?"forward":"show"](n>1?Math.min(this.duration,75+75/(n-1)):this.duration,this.percent)},_translate(t,e=this.prevIndex,i=this.index){const n=this._getTransitioner(e!==i&&e,i);return n.translate(t),n},_getTransitioner(t=this.prevIndex,e=this.index,i=this.dir||1,n=this.transitionOptions){return new this.Transitioner(this.slides[t]||t,this.slides[e]||e,i*(Re?-1:1),n)}}};function vr(t){return.5*t+300}var br={mixins:[mr],props:{animation:String},data:{animation:"slide",clsActivated:"qx-transition-active",Animations:sr,Transitioner:function(t,e,i,{animation:n,easing:s}){const{percent:o,translate:r,show:a=R}=n,l=a(i);let c;return{dir:i,show(n,o=0,r){const a=r?"linear":s;return n-=Math.round(n*W(o,-1,1)),this.translate(o),cr(e,"itemin",{percent:o,duration:n,timing:a,dir:i}),cr(t,"itemout",{percent:1-o,duration:n,timing:a,dir:i}),new Promise((i=>{c||=i,Promise.all([ee.start(e,l[1],n,a),ee.start(t,l[0],n,a)]).then((()=>{this.reset(),c()}),R)}))},cancel:()=>ee.cancel([e,t]),reset(){for(const i in l[0])Vt([e,t],i,"")},async forward(t,e=this.percent()){return await this.cancel(),this.show(t,e,!0)},translate(n){this.reset();const s=r(n,i);Vt(e,s[1]),Vt(t,s[0]),cr(e,"itemtranslatein",{percent:n,dir:i}),cr(t,"itemtranslateout",{percent:1-n,dir:i})},percent:()=>o(t||e,e,i),getDistance:()=>t?.offsetWidth}}},computed:{animation:({animation:t,Animations:e})=>({...e[t]||e.slide,name:t}),transitionOptions(){return{animation:this.animation}}},events:{beforeitemshow({target:t}){Xt(t,this.clsActive)},itemshown({target:t}){Xt(t,this.clsActivated)},itemhidden({target:t}){Yt(t,this.clsActive,this.clsActivated)}}},xr={mixins:[lo,br],functional:!0,props:{delayControls:Number,preload:Number,videoAutoplay:Boolean,template:String},data:()=>({preload:1,videoAutoplay:!1,delayControls:3e3,items:[],cls:"qx-open",clsPage:"qx-lightbox-page",selList:".qx-lightbox-items",attrItem:"qx-lightbox-item",selClose:".qx-close-large",selCaption:".qx-lightbox-caption",pauseOnHover:!1,velocity:2,Animations:lr,template:'
    '}),created(){const t=Ae(this.template),e=Ae(this.selList,t);this.items.forEach((()=>he(e,"
  • ")));const i=Ae("[qx-close]",t),n=this.t("close");i&&n&&(i.dataset.i18n=JSON.stringify({label:n})),this.$mount(he(this.container,t))},computed:{caption:({selCaption:t},e)=>Ae(t,e)},events:[{name:`${Ye} ${Xe} keydown`,handler:"showControls"},{name:"click",self:!0,delegate(){return`${this.selList} > *`},handler(t){t.defaultPrevented||this.hide()}},{name:"shown",self:!0,handler(){this.showControls()}},{name:"hide",self:!0,handler(){this.hideControls(),Yt(this.slides,this.clsActive),ee.stop(this.slides)}},{name:"hidden",self:!0,handler(){this.$destroy(!0)}},{name:"keyup",el:()=>document,handler({keyCode:t}){if(!this.isToggled(this.$el)||!this.draggable)return;let e=-1;t===Vn?e="previous":t===Xn?e="next":t===Rn?e=0:t===Wn&&(e="last"),~e&&this.show(e)}},{name:"beforeitemshow",handler(t){this.isToggled()||(this.draggable=!1,t.preventDefault(),this.toggleElement(this.$el,!0,!1),this.animation=lr.scale,Yt(t.target,this.clsActive),this.stack.splice(1,0,this.index))}},{name:"itemshow",handler(){le(this.caption,this.getItem().caption||"");for(let t=-this.preload;t<=this.preload;t++)this.loadItem(this.index+t)}},{name:"itemshown",handler(){this.draggable=this.$props.draggable}},{name:"itemload",async handler(t,e){const{source:i,type:n,alt:s="",poster:o,attrs:r={}}=e;if(this.setItem(e,""),!i)return;let a;const l={allowfullscreen:"",style:"max-width: 100%; box-sizing: border-box;","qx-responsive":"","qx-video":`${this.videoAutoplay}`};if("image"===n||i.match(/\.(avif|jpe?g|jfif|a?png|gif|svg|webp)($|\?)/i)){const t=wr("img",{src:i,alt:s,...r});Pt(t,"load",(()=>this.setItem(e,t))),Pt(t,"error",(()=>this.setError(e)))}else if("video"===n||i.match(/\.(mp4|webm|ogv)($|\?)/i)){const t=wr("video",{src:i,poster:o,controls:"",playsinline:"","qx-video":`${this.videoAutoplay}`,...r});Pt(t,"loadedmetadata",(()=>this.setItem(e,t))),Pt(t,"error",(()=>this.setError(e)))}else if("iframe"===n||i.match(/\.(html|php)($|\?)/i))this.setItem(e,wr("iframe",{src:i,allowfullscreen:"",class:"qx-lightbox-iframe",...r}));else if(a=i.match(/\/\/(?:.*?youtube(-nocookie)?\..*?(?:[?&]v=|\/shorts\/)|youtu\.be\/)([\w-]{11})[&?]?(.*)?/))this.setItem(e,wr("iframe",{src:`https://www.youtube${a[1]||""}.com/embed/${a[2]}${a[3]?`?${a[3]}`:""}`,width:1920,height:1080,...l,...r}));else if(a=i.match(/\/\/.*?vimeo\.[a-z]+\/(\d+)[&?]?(.*)?/))try{const{height:t,width:n}=await(await fetch(`https://vimeo.com/api/oembed.json?maxwidth=1920&url=${encodeURI(i)}`,{credentials:"omit"})).json();this.setItem(e,wr("iframe",{src:`https://player.vimeo.com/video/${a[1]}${a[2]?`?${a[2]}`:""}`,width:n,height:t,...l,...r}))}catch(t){this.setError(e)}}}],methods:{loadItem(t=this.index){const e=this.getItem(t);this.getSlide(e).childElementCount||Bt(this.$el,"itemload",[e])},getItem(t=this.index){return this.items[J(t,this.slides)]},setItem(t,e){Bt(this.$el,"itemloaded",[this,le(this.getSlide(t),e)])},getSlide(t){return this.slides[this.items.indexOf(t)]},setError(t){this.setItem(t,'')},showControls(){clearTimeout(this.controlsTimer),this.controlsTimer=setTimeout(this.hideControls,this.delayControls),Xt(this.$el,"qx-active","qx-transition-active")},hideControls(){Yt(this.$el,"qx-active","qx-transition-active")}}};function wr(t,e){const i=we(`<${t}>`);return K(i,e),i}var yr={install:function(t,e){t.lightboxPanel||t.component("lightboxPanel",xr),p(e.props,t.component("lightboxPanel").options.props)},props:{toggle:String},data:{toggle:"a"},computed:{toggles:({toggle:t},e)=>qe(t,e)},watch:{toggles(t){this.hide();for(const e of t)re(e,"a")&&K(e,"role","button")}},disconnected(){this.hide()},events:{name:"click",delegate(){return`${this.toggle}:not(.qx-disabled)`},handler(t){t.preventDefault(),this.show(t.current)}},methods:{show(t){const e=j(this.toggles.map($r),"source");if(y(t)){const{source:i}=$r(t);t=d(e,(({source:t})=>i===t))}return this.panel=this.panel||this.$create("lightboxPanel",{...this.$props,items:e}),Pt(this.panel.$el,"hidden",(()=>this.panel=null)),this.panel.show(t)},hide(){return this.panel?.hide()}}};function $r(t){const e={};for(const i of["href","caption","type","poster","alt","attrs"])e["href"===i?"source":i]=et(t,i);return e.attrs=hn(e.attrs),e}var Ar={mixins:[ds],functional:!0,args:["message","status"],data:{message:"",status:"",timeout:5e3,group:null,pos:"top-center",clsContainer:"qx-notification",clsClose:"qx-notification-close",clsMsg:"qx-notification-message"},install:function(t){t.notification.closeAll=function(e,i){$e(document.body,(n=>{const s=t.getComponent(n,"notification");!s||e&&e!==s.group||s.close(i)}))}},computed:{marginProp:({pos:t})=>"margin"+(l(t,"top")?"Top":"Bottom"),startProps(){return{opacity:0,[this.marginProp]:-this.$el.offsetHeight}}},created(){const t=Ae(`.${this.clsContainer}-${this.pos}`,this.container)||he(this.container,`
    `);this.$mount(he(t,``))},async connected(){const t=_(Vt(this.$el,this.marginProp));await ee.start(Vt(this.$el,this.startProps),{opacity:1,[this.marginProp]:t}),this.timeout&&(this.timer=setTimeout(this.close,this.timeout))},events:{click(t){ut(t.target,'a[href="#"],a[href=""]')&&t.preventDefault(),this.close()},[Je](){this.timer&&clearTimeout(this.timer)},[Ge](){this.timeout&&(this.timer=setTimeout(this.close,this.timeout))}},methods:{async close(t){this.timer&&clearTimeout(this.timer),t||await ee.start(this.$el,this.startProps),(t=>{const e=ct(t);Bt(t,"close",[this]),pe(t),e?.hasChildNodes()||pe(e)})(this.$el)}}};const qr={x:zr,y:zr,rotate:zr,scale:zr,color:Er,backgroundColor:Er,borderColor:Er,blur:kr,hue:kr,fopacity:kr,grayscale:kr,invert:kr,saturate:kr,sepia:kr,opacity:function(t,e,i){return 1===i.length&&i.unshift(Fr(e,t,"")),i=Mr(i),(e,n)=>{e[t]=Or(i,n)}},stroke:function(t,e,i){1===i.length&&i.unshift(0);const n=Lr(i),s=_o(e);return i=Mr(i.reverse(),(t=>(t=_(t),"%"===n?t*s/100:t))),i.some((([t])=>t))?(Vt(e,"strokeDasharray",s),(t,e)=>{t.strokeDashoffset=Or(i,e)}):R},bgx:Ir,bgy:Ir},{keys:Cr}=Object;var Sr={mixins:[oo],props:jr(Cr(qr),"list"),data:jr(Cr(qr),void 0),computed:{props(t,e){const i={};for(const e in t)e in qr&&!E(t[e])&&(i[e]=t[e].slice());const n={};for(const t in i)n[t]=qr[t](t,e,i[t],i);return n}},events:{load(){this.$emit()}},methods:{reset(){for(const t in this.getCss(0))Vt(this.$el,t,"")},getCss(t){const e={transform:"",filter:""};for(const i in this.props)this.props[i](e,W(t));return e.willChange=Object.keys(e).filter((t=>""!==e[t])).map(Ut).join(","),e}}};function zr(t,e,i){let n,s=Lr(i)||{x:"px",y:"px",rotate:"deg"}[t]||"";return"x"===t||"y"===t?(t=`translate${a(t)}`,n=t=>_(_(t).toFixed("px"===s?0:6))):"scale"===t&&(s="",n=t=>Lr([t])?Be(t,"width",e,!0)/e.offsetWidth:t),1===i.length&&i.unshift("scale"===t?1:0),i=Mr(i,n),(e,n)=>{e.transform+=` ${t}(${Or(i,n)}${s})`}}function Er(t,e,i){return 1===i.length&&i.unshift(Fr(e,t,"")),i=Mr(i,(t=>function(t,e){return Fr(t,"color",e).split(/[(),]/g).slice(1,-1).concat(1).slice(0,4).map(_)}(e,t))),(e,n)=>{const[s,o,r]=Br(i,n),a=s.map(((t,e)=>(t+=r*(o[e]-t),3===e?_(t):parseInt(t,10)))).join(",");e[t]=`rgba(${a})`}}function kr(t,e,i){1===i.length&&i.unshift(0);const n=Lr(i)||{blur:"px",hue:"deg"}[t]||"%";return t={fopacity:"opacity",hue:"hue-rotate"}[t]||t,i=Mr(i),(e,s)=>{const o=Or(i,s);e.filter+=` ${t}(${o+n})`}}function Ir(t,e,i,n){1===i.length&&i.unshift(0);const s="bgy"===t?"height":"width";n[t]=Mr(i,(t=>Be(t,s,e)));const o=["bgx","bgy"].filter((t=>t in n));if(2===o.length&&"bgx"===t)return R;if("cover"===Fr(e,"backgroundSize",""))return function(t,e,i,n){const s=function(t){const e=Vt(t,"backgroundImage").replace(/^none|url\(["']?(.+?)["']?\)$/,"$1");if(Pr[e])return Pr[e];const i=new Image;return e&&(i.src=e,!i.naturalWidth)?(i.onload=()=>{Pr[e]=Nr(i),Bt(t,Ot("load",!1))},Nr(i)):Pr[e]=Nr(i)}(e);if(!s.width)return R;const o={width:e.offsetWidth,height:e.offsetHeight},r=["bgx","bgy"].filter((t=>t in n)),a={};for(const t of r){const e=n[t].map((([t])=>t)),i=Math.min(...e),s=Math.max(...e),r=e.indexOf(i){c(t,e),t.backgroundSize=`${l.width}px ${l.height}px`,t.backgroundRepeat="no-repeat"}}(0,e,0,n);const r={};for(const t of o)r[t]=_r(e,t);return Tr(o,r,n)}function _r(t,e){return Fr(t,`background-position-${e.substr(-1)}`,"")}function Tr(t,e,i){return function(n,s){for(const o of t){const t=Or(i[o],s);n[`background-position-${o.substr(-1)}`]=`calc(${e[o]} + ${t}px)`}}}const Pr={};function Nr(t){return{width:t.naturalWidth,height:t.naturalHeight}}function Mr(t,e=_){const i=[],{length:n}=t;let s=0;for(let o=0;o0;n--)i[o-n][1]=t+e*(s-n+1);s=0}}return i}function Br(t,e){const i=d(t.slice(1),(([,t])=>e<=t))+1;return[t[i-1][0],t[i][0],(e-t[i-1][1])/(t[i][1]-t[i-1][1])]}function Or(t,e){const[i,n,s]=Br(t,e);return C(i)?i+Math.abs(i-n)*s*(i(t[i]=e,t)),{})}var Hr={mixins:[Sr],props:{target:String,viewport:Number,easing:Number,start:String,end:String},data:{target:!1,viewport:1,easing:1,start:0,end:0},computed:{target:({target:t},e)=>Rr(t&&xt(t,e)||e),start({start:t}){return Be(t,"height",this.target,!0)},end({end:t,viewport:e}){return Be(t||(e=100*(1-e))&&`${e}vh+${e}%`,"height",this.target,!0)}},observe:[Qn({target:({$el:t,target:e})=>[t,e,Si(e,!0)]}),ts(),Zn()],update:{read({percent:t},e){if(e.has("scroll")||(t=!1),!st(this.$el))return!1;if(!this.matchMedia)return;const i=t;return{percent:t=Wr(qi(this.target,this.start,this.end),this.easing),style:i!==t&&this.getCss(t)}},write({style:t}){this.matchMedia?t&&Vt(this.$el,t):this.reset()},events:["scroll","resize"]}};function Wr(t,e){return e>=0?Math.pow(t,e+1):1-Math.pow(1-t,1-e)}function Rr(t){return t?"offsetTop"in t?t:Rr(ct(t)):document.documentElement}var Vr={update:{write(){if(this.stack.length||this.dragging)return;const t=this.getValidIndex(this.index);~this.prevIndex&&this.index===t?this._translate(1,this.prevIndex,this.index):this.show(t)},events:["resize"]}},Ur={observe:Kn({target:({slides:t})=>t,targets:t=>t.getAdjacentSlides()})};function Xr(t,e,i){const n=Jr(t,e);return i?n-function(t,e){return ze(e).width/2-ze(t).width/2}(t,e):Math.min(n,Yr(e))}function Yr(t){return Math.max(0,Qr(t)-ze(t).width)}function Qr(t){return F(gt(t),(t=>ze(t).width))}function Jr(t,e){return t&&(ke(t).left+(Re?ze(t).width-ze(e).width:0))*(Re?-1:1)||0}function Gr(t,e){e-=1;const i=ze(t).width,n=e+i+2;return gt(t).filter((s=>{const o=Jr(s,t),r=o+Math.min(ze(s).width,i);return o>=e&&r<=n}))}function Kr(t,e,i){Bt(t,Ot(e,!1,!1,i))}var Zr={mixins:[Mn,mr,Vr,Ur],props:{center:Boolean,sets:Boolean},data:{center:!1,sets:!1,attrItem:"qx-slider-item",selList:".qx-slider-items",selNav:".qx-slider-nav",clsContainer:"qx-slider-container",Transitioner:function(t,e,i,{center:n,easing:s,list:o}){const r=t?Xr(t,o,n):Xr(e,o,n)+ze(e).width*i,a=e?Xr(e,o,n):r+ze(t).width*i*(Re?-1:1);let l;return{dir:i,show(e,n=0,r){const c=r?"linear":s;return e-=Math.round(e*W(n,-1,1)),this.translate(n),n=t?n:W(n,0,1),Kr(this.getItemIn(),"itemin",{percent:n,duration:e,timing:c,dir:i}),t&&Kr(this.getItemIn(!0),"itemout",{percent:1-n,duration:e,timing:c,dir:i}),new Promise((t=>{l||=t,ee.start(o,{transform:rr(-a*(Re?-1:1),"px")},e,c).then(l,R)}))},cancel:()=>ee.cancel(o),reset(){Vt(o,"transform","")},async forward(t,e=this.percent()){return await this.cancel(),this.show(t,e,!0)},translate(n){const s=this.getDistance()*i*(Re?-1:1);Vt(o,"transform",rr(W(s-s*n-a,-Qr(o),ze(o).width)*(Re?-1:1),"px"));const r=this.getActives(),l=this.getItemIn(),c=this.getItemIn(!0);n=t?W(n,-1,1):0;for(const s of gt(o)){const a=h(r,s),d=s===l,u=s===c;Kr(s,"itemtranslate"+(d||!u&&(a||i*(Re?-1:1)==-1^Jr(s,o)>Jr(t||e))?"in":"out"),{dir:i,percent:u?1-n:d?n:a?1:0})}},percent:()=>Math.abs((Vt(o,"transform").split(",")[4]*(Re?-1:1)+r)/(a-r)),getDistance:()=>Math.abs(a-r),getItemIn(i=!1){let s=this.getActives(),r=Gr(o,Xr(e||t,o,n));if(i){const t=s;s=r,r=t}return r[d(r,(t=>!h(s,t)))]},getActives:()=>Gr(o,Xr(t||e,o,n))}}},computed:{avgWidth(){return Qr(this.list)/this.length},finite({finite:t}){return t||function(t,e){if(!t||t.length<2)return!0;const{width:i}=ze(t);if(!e)return Math.ceil(Qr(t))ze(t).width)))}(t));const n=gt(t),s=Math.trunc(i/2);for(const t in n){const e=n[t],i=ze(e).width,o=new Set([e]);let r=0;for(const e of[-1,1]){let a=i/2,l=0;for(;aF(n.filter((t=>!o.has(t))),(t=>ze(t).width)))return!0}return!1}(this.list,this.center)},maxIndex(){if(!this.finite||this.center&&!this.sets)return this.length-1;if(this.center)return O(this.sets);let t=0;const e=Yr(this.list),i=d(this.slides,(i=>{if(t>=e)return!0;t+=ze(i).width}));return~i?i:this.length-1},sets({sets:t}){if(!t)return;let e=0;const i=[],n=ze(this.list).width;for(let t=0;tn&&(e=0),this.center?en/2&&(i.push(+t),e=n/2-s/2):0===e&&i.push(Math.min(+t,this.maxIndex)),e+=s}return i.length?i:void 0},transitionOptions(){return{center:this.center,list:this.list}},slides(){return gt(this.list).filter(st)}},connected(){Kt(this.$el,this.clsContainer,!Ae(`.${this.clsContainer}`,this.$el))},observe:Qn({target:({slides:t})=>t}),update:{write(){for(const t of this.navItems){const e=I(et(t,this.attrItem));!1!==e&&(t.hidden=!this.maxIndex||e>this.maxIndex||this.sets&&!h(this.sets,e))}!this.length||this.dragging||this.stack.length||(this.reorder(),this._translate(1)),this.updateActiveClasses()},events:["resize"]},events:{beforeitemshow(t){!this.dragging&&this.sets&&this.stack.length<2&&!h(this.sets,this.index)&&(this.index=this.getValidIndex());const e=Math.abs(this.index-this.prevIndex+(this.dir>0&&this.indexthis.prevIndex?(this.maxIndex+1)*this.dir:0));if(!this.dragging&&e>1){for(let t=0;t0?"next":"previous");return void t.preventDefault()}const i=this.dir<0||!this.slides[this.prevIndex]?this.index:this.prevIndex;this.duration=vr(this.avgWidth/this.velocity)*(ze(this.slides[i]).width/this.avgWidth),this.reorder()},itemshow(){~this.prevIndex&&Xt(this._getTransitioner().getItemIn(),this.clsActive)},itemshown(){this.updateActiveClasses()}},methods:{reorder(){if(this.finite)return void Vt(this.slides,"order","");const t=this.dir>0&&this.slides[this.prevIndex]?this.prevIndex:this.index;if(this.slides.forEach(((e,i)=>Vt(e,"order",this.dir>0&&i=this.index?-1:""))),!this.center)return;const e=this.slides[t];let i=ze(this.list).width/2-ze(e).width/2,n=0;for(;i>0;){const e=this.getIndex(--n+t,t),s=this.slides[e];Vt(s,"order",e>t?-2:-1),i-=ze(s).width}},updateActiveClasses(){const t=this._getTransitioner(this.index).getActives(),e=[this.clsActive,(!this.sets||h(this.sets,_(this.index)))&&this.clsActivated||""];for(const n of this.slides){const s=h(t,n);Kt(n,e,s),K(n,"aria-hidden",!s);for(const t of qe(at,n))i(t,"_tabindex")||(t._tabindex=K(t,"tabindex")),K(t,"tabindex",s?t._tabindex:-1)}},getValidIndex(t=this.index,e=this.prevIndex){if(t=this.getIndex(t,e),!this.sets)return t;let i;do{if(h(this.sets,t))return t;i=t,t=this.getIndex(t+this.dir,e)}while(t!==i);return t},getAdjacentSlides(){const{width:t}=ze(this.list),e=-t,i=2*t,n=ze(this.slides[this.index]).width,s=this.center?t/2-n/2:0,o=new Set;for(const t of[-1,1]){let r=s+(t>0?n:0),a=0;do{const e=this.slides[this.getIndex(this.index+t+a++*t)];r+=ze(e).width*t,o.add(e)}while(this.length>a&&r>e&&r{if(!this.matchMedia)return;const o=this.getCss(ia(t,s,e)),r=this.getCss(ea(t)?.5:s>0?1:0);Ze.write((()=>{Vt(this.$el,o),ee.start(this.$el,r,i,n).catch(R)}))}))}},{name:"transitioncanceled transitionend",self:!0,el(){return this.item},handler(){ee.cancel(this.$el)}},{name:"itemtranslatein itemtranslateout",self:!0,el(){return this.item},handler({type:t,detail:{percent:e,dir:i}}){Ze.read((()=>{if(!this.matchMedia)return void this.reset();const n=this.getCss(ia(t,i,e));Ze.write((()=>Vt(this.$el,n)))}))}}]};function ea(t){return c(t,"in")}function ia(t,e,i){return i/=2,ea(t)^e<0?i:1-i}var na={...sr,fade:{show:()=>[{opacity:0,zIndex:0},{zIndex:-1}],percent:t=>1-Vt(t,"opacity"),translate:t=>[{opacity:1-t,zIndex:0},{zIndex:-1}]},scale:{show:()=>[{opacity:0,transform:ar(1.5),zIndex:0},{zIndex:-1}],percent:t=>1-Vt(t,"opacity"),translate:t=>[{opacity:1-t,transform:ar(1+.5*t),zIndex:0},{zIndex:-1}]},pull:{show:t=>t<0?[{transform:rr(30),zIndex:-1},{transform:rr(),zIndex:0}]:[{transform:rr(-100),zIndex:0},{transform:rr(),zIndex:-1}],percent:(t,e,i)=>i<0?1-or(e):or(t),translate:(t,e)=>e<0?[{transform:rr(30*t),zIndex:-1},{transform:rr(-100*(1-t)),zIndex:0}]:[{transform:rr(100*-t),zIndex:0},{transform:rr(30*(1-t)),zIndex:-1}]},push:{show:t=>t<0?[{transform:rr(100),zIndex:0},{transform:rr(),zIndex:-1}]:[{transform:rr(-30),zIndex:-1},{transform:rr(),zIndex:0}],percent:(t,e,i)=>i>0?1-or(e):or(t),translate:(t,e)=>e<0?[{transform:rr(100*t),zIndex:0},{transform:rr(-30*(1-t)),zIndex:-1}]:[{transform:rr(-30*t),zIndex:-1},{transform:rr(100*(1-t)),zIndex:0}]}},sa={mixins:[Mn,br,Vr,Ur],props:{ratio:String,minHeight:Number,maxHeight:Number},data:{ratio:"16:9",minHeight:!1,maxHeight:!1,selList:".qx-slideshow-items",attrItem:"qx-slideshow-item",selNav:".qx-slideshow-nav",Animations:na},update:{read(){if(!this.list)return!1;let[t,e]=this.ratio.split(":").map(Number);return e=e*this.list.offsetWidth/t||0,this.minHeight&&(e=Math.max(this.minHeight,e)),this.maxHeight&&(e=Math.min(this.maxHeight,e)),{height:e-Ne(this.list,"height","content-box")}},write({height:t}){t>0&&Vt(this.list,"minHeight",t)},events:["resize"]},methods:{getAdjacentSlides(){return[1,-1].map((t=>this.slides[this.getIndex(this.index+t)]))}}},oa={mixins:[Mn,Zo],props:{group:String,threshold:Number,clsItem:String,clsPlaceholder:String,clsDrag:String,clsDragState:String,clsBase:String,clsNoDrag:String,clsEmpty:String,clsCustom:String,handle:String},data:{group:!1,threshold:5,clsItem:"qx-sortable-item",clsPlaceholder:"qx-sortable-placeholder",clsDrag:"qx-sortable-drag",clsDragState:"qx-drag",clsBase:"qx-sortable",clsNoDrag:"qx-sortable-nodrag",clsEmpty:"qx-sortable-empty",clsCustom:"",handle:!1,pos:{}},created(){for(const t of["init","start","move","end"]){const e=this[t];this[t]=t=>{p(this.pos,Wt(t)),e(t)}}},events:{name:Xe,passive:!1,handler:"init"},computed:{target(){return(this.$el.tBodies||[this.$el])[0]},items(){return gt(this.target)},isEmpty(){return z(this.items)},handles({handle:t},e){return t?qe(t,e):this.items}},watch:{isEmpty(t){Kt(this.target,this.clsEmpty,t)},handles(t,e){Vt(e,{touchAction:"",userSelect:""}),Vt(t,{touchAction:Ve?"none":"",userSelect:"none"})}},update:{write(t){if(!this.drag||!ct(this.placeholder))return;const{pos:{x:e,y:i},origin:{offsetTop:n,offsetLeft:s},placeholder:o}=this;Vt(this.drag,{top:i-n,left:e-s});const r=this.getSortable(document.elementFromPoint(e,i));if(!r)return;const{items:a}=r;if(a.some(ee.inProgress))return;const l=function(t,e){return t[d(t,(t=>U(e,t.getBoundingClientRect())))]}(a,{x:e,y:i});if(a.length&&(!l||l===o))return;const c=this.getSortable(o),h=function(t,e,i,n,s,o){if(!gt(t).length)return;const r=e.getBoundingClientRect();if(!o)return function(t,e){const i=1===gt(t).length;i&&he(t,e);const n=gt(t),s=n.some(((t,e)=>{const i=t.getBoundingClientRect();return n.slice(e+1).some((t=>{const e=t.getBoundingClientRect();return!aa([i.left,i.right],[e.left,e.right])}))}));return i&&pe(e),s}(t,i)||sr[u]-f)&&e}(r.target,l,o,e,i,r===c&&t.moved!==l);!1!==h&&(h&&o===h||(r!==c?(c.remove(o),t.moved=l):delete t.moved,r.insert(o,h),this.touched.add(r)))},events:["move"]},methods:{init(t){const{target:e,button:i,defaultPrevented:n}=t,[s]=this.items.filter((t=>ft(e,t)));!s||n||i>0||rt(e)||ft(e,`.${this.clsNoDrag}`)||this.handle&&!ft(e,this.handle)||(t.preventDefault(),this.touched=new Set([this]),this.placeholder=s,this.origin={target:e,index:mt(s),...this.pos},Pt(document,Ye,this.move),Pt(document,Qe,this.end),this.threshold||this.start(t))},start(t){this.drag=function(t,e){let i;if(re(e,"li","tr")){i=Ae("
    "),he(i,e.cloneNode(!0).children);for(const t of e.getAttributeNames())K(i,t,e.getAttribute(t))}else i=e.cloneNode(!0);return he(t,i),Vt(i,"margin","0","important"),Vt(i,{boxSizing:"border-box",width:e.offsetWidth,height:e.offsetHeight,padding:Vt(e,"padding")}),_e(i.firstElementChild,_e(e.firstElementChild)),i}(this.$container,this.placeholder);const{left:e,top:i}=this.placeholder.getBoundingClientRect();p(this.origin,{offsetLeft:this.pos.x-e,offsetTop:this.pos.y-i}),Xt(this.drag,this.clsDrag,this.clsCustom),Xt(this.placeholder,this.clsPlaceholder),Xt(this.items,this.clsItem),Xt(document.documentElement,this.clsDragState),Bt(this.$el,"start",[this,this.placeholder]),function(t){let e=Date.now();ra=setInterval((()=>{let{x:i,y:n}=t;n+=document.scrollingElement.scrollTop;const s=.3*(Date.now()-e);e=Date.now(),Ci(document.elementFromPoint(i,t.y)).reverse().some((t=>{let{scrollTop:e,scrollHeight:i}=t;const{top:o,bottom:r,height:a}=Ei(t);if(on)e-=s;else{if(!(r>n&&r-350&&ethis.threshold||Math.abs(this.pos.y-this.origin.y)>this.threshold)&&this.start(t)},end(){if(Nt(document,Ye,this.move),Nt(document,Qe,this.end),!this.drag)return;clearInterval(ra);const t=this.getSortable(this.placeholder);this===t?this.origin.index!==mt(this.placeholder)&&Bt(this.$el,"moved",[this,this.placeholder]):(Bt(t.$el,"added",[t,this.placeholder]),Bt(this.$el,"removed",[this,this.placeholder])),Bt(this.$el,"stop",[this,this.placeholder]),pe(this.drag),this.drag=null;for(const{clsPlaceholder:t,clsItem:e}of this.touched)for(const i of this.touched)Yt(i.items,t,e);this.touched=null,Yt(document.documentElement,this.clsDragState)},insert(t,e){Xt(this.items,this.clsItem);this.animate((()=>e?de(e,t):he(this.target,t)))},remove(t){ft(t,this.target)&&this.animate((()=>pe(t)))},getSortable(t){do{const e=this.$getComponent(t,"sortable");if(e&&(e===this||!1!==this.group&&e.group===this.group))return e}while(t=ct(t))}}};let ra;function aa(t,e){return t[1]>e[0]&&e[1]>t[0]}var la={mixins:[ds,Bn,hs],args:"title",props:{delay:Number,title:String},data:{pos:"top",title:"",delay:0,animation:["qx-animation-scale-up"],duration:100,cls:"qx-active"},beforeConnect(){var t;this.id=En(this,{}),this._hasTitle=Z(this.$el,"title"),K(this.$el,{title:"","aria-describedby":this.id}),lt(t=this.$el)||K(t,"tabindex","0")},disconnected(){this.hide(),K(this.$el,"title")||K(this.$el,"title",this._hasTitle?this.title:null)},methods:{show(){!this.isToggled(this.tooltip||null)&&this.title&&(clearTimeout(this.showTimer),this.showTimer=setTimeout(this._show,this.delay))},async hide(){dt(this.$el,"input:focus")||(clearTimeout(this.showTimer),this.isToggled(this.tooltip||null)&&await this.toggleElement(this.tooltip,!1,!1),pe(this.tooltip),this.tooltip=null)},async _show(){this.tooltip=he(this.container,`
    ${this.title}
    `),Pt(this.tooltip,"toggled",((t,e)=>{if(!e)return;const i=()=>this.positionAt(this.tooltip,this.$el);i();const[n,s]=function(t,e,[i,n]){const s=Ee(t),o=Ee(e),r=[["left","right"],["top","bottom"]];for(const t of r){if(s[t[0]]>=o[t[1]]){i=t[1];break}if(s[t[1]]<=o[t[0]]){i=t[0];break}}const a=h(r[0],i)?r[1]:r[0];return[i,s[a[0]]===o[a[0]]?a[0]:s[a[1]]===o[a[1]]?a[1]:"center"]}(this.tooltip,this.$el,this.pos);this.origin="y"===this.axis?`${Me(n)}-${s}`:`${s}-${Me(n)}`;const o=[Mt(document,`keydown ${Xe}`,this.hide,!1,(t=>t.type===Xe&&!ft(t.target,this.$el)||"keydown"===t.type&&t.keyCode===jn)),Pt([document,...zi(this.$el)],"scroll",i,{passive:!0})];Mt(this.tooltip,"hide",(()=>o.forEach((t=>t()))),{self:!0})})),await this.toggleElement(this.tooltip,!0)||this.hide()}},events:{focus:"show",blur:"hide",[`${Je} ${Ge}`](t){Ht(t)||this[t.type===Je?"show":"hide"]()},[Xe](t){Ht(t)&&this.show()}}};var ca={mixins:[Os],i18n:{invalidMime:"Invalid File Type: %s",invalidName:"Invalid File Name: %s",invalidSize:"Invalid File Size: %s Kilobytes Max"},props:{allow:String,clsDragover:String,concurrent:Number,maxSize:Number,method:String,mime:String,multiple:Boolean,name:String,params:Object,type:String,url:String},data:{allow:!1,clsDragover:"qx-dragover",concurrent:1,maxSize:0,method:"POST",mime:!1,multiple:!1,name:"files[]",params:{},type:"",url:"",abort:R,beforeAll:R,beforeSend:R,complete:R,completeAll:R,error:R,fail:R,load:R,loadEnd:R,loadStart:R,progress:R},events:{change(t){dt(t.target,'input[type="file"]')&&(t.preventDefault(),t.target.files&&this.upload(t.target.files),t.target.value="")},drop(t){da(t);const e=t.dataTransfer;e?.files&&(Yt(this.$el,this.clsDragover),this.upload(e.files))},dragenter(t){da(t)},dragover(t){da(t),Xt(this.$el,this.clsDragover)},dragleave(t){da(t),Yt(this.$el,this.clsDragover)}},methods:{async upload(t){if(!(t=f(t)).length)return;Bt(this.$el,"upload",[t]);for(const e of t){if(this.maxSize&&1e3*this.maxSize{const n=new FormData;t.forEach((t=>n.append(this.name,t)));for(const t in this.params)n.append(t,this.params[t]);try{const t=await function(t,e){const i={data:null,method:"GET",headers:{},xhr:new XMLHttpRequest,beforeSend:R,responseType:"",...e};return Promise.resolve().then((()=>i.beforeSend(i))).then((()=>function(t,e){return new Promise(((i,n)=>{const{xhr:s}=e;for(const t in e)if(t in s)try{s[t]=e[t]}catch(t){}s.open(e.method.toUpperCase(),t);for(const t in e.headers)s.setRequestHeader(t,e.headers[t]);Pt(s,"load",(()=>{0===s.status||s.status>=200&&s.status<300||304===s.status?i(s):n(p(Error(s.statusText),{xhr:s,status:s.status}))})),Pt(s,"error",(()=>n(p(Error("Network Error"),{xhr:s})))),Pt(s,"timeout",(()=>n(p(Error("Network Timeout"),{xhr:s})))),s.send(e.data)}))}(t,i)))}(this.url,{data:n,method:this.method,responseType:this.type,beforeSend:t=>{const{xhr:e}=t;Pt(e.upload,"progress",this.progress);for(const t of["loadStart","load","loadEnd","abort"])Pt(e,t.toLowerCase(),this[t]);return this.beforeSend(t)}});this.complete(t),e.length?await i(e.shift()):this.completeAll(t)}catch(t){this.error(t)}};await i(e.shift())}}};function ha(t,e){return e.match(new RegExp(`^${t.replace(/\//g,"\\/").replace(/\*\*/g,"(\\/[^\\/]+)*").replace(/\*/g,"[^\\/]+").replace(/((?!\\))\?/g,"$1.")}$`,"i"))}function da(t){t.preventDefault(),t.stopPropagation()}return D(Object.freeze({__proto__:null,Countdown:Ho,Filter:tr,Lightbox:yr,LightboxPanel:xr,Notification:Ar,Parallax:Hr,Slider:Zr,SliderParallax:ta,Slideshow:sa,SlideshowParallax:ta,Sortable:oa,Tooltip:la,Upload:ca}),((t,e)=>xn.component(e,t))),xn}()}}]);